On 2/13/07, Allan Mullan <[EMAIL PROTECTED]> wrote:

Hey all,

I'm probably just tired but I would have thought that the following
should get any links with <a href="/home.html">

$('[EMAIL PROTECTED]"/home.html"]')

But it doesn't work... What's the correct way of getting these elements?


Nope, you're not tired (OK, maybe you are, but that isn't the problem). IE
has a nasty habit of storing the full URL in the "href" attribute, even if
that's not what you put there.

I've seen this issue come up a bunch of times and I'm happy to say this
issue was (hopefully) resolved in SVN revision 1316[1]. The bad news, is
that if you're not comfortable grabbing jQuery from SVN, you'll probably
have to wait until the next official release until you can take advantage of
it.

[1] http://jquery.com/dev/svn/rev/1316/

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to