How can I get the href of a <link> tag using jQuery?
- by Matt
Hi,
I've seen lots on how to do this with an tag, and I have no problem doing it with that one, but I can't seem to retrieve the href attribute of a <link> tag.
Even trying to grab the link tag at all:
alert($("link").length);
Gives 0.
Any ideas?
Thanks,
Matt