How to get “raw” href contents in JavaScript

Try the getAttribute method instead.

Leave a Comment