I have a link in HTML thats structured like:
<a href="#!/example/1234" class="details">details</a>
When I target this a tag with $("a.details").attr('href')
or $("a.details")[0].href
both return only the #
portion of the href and nothing past it.
I tried searching for what is valid and invalid characters for a href attribute in an '<a>'
tag and didn't turn up anything really useful. I know that #
denotes it being an anchor tag but why would this block it from jquery reading the value?
Any help would be appreciated!