Dave Methvin wrote:
> 
> In all browsers, or just IE? That's a quirk of IE that it changes relative
> URLs to absolute.
> 
> http://www.glennjones.net/Post/809/getAttributehrefbug.htm
> 
> I thought there was a getAttribute(....,2) fix in jQuery for this already.
> 

Hi Dave.  I got the same behavior in Firefox, IE, and Opera.


Klaus Hartl wrote:
> 
> Or change the selector to this:
> 
> $("[EMAIL PROTECTED]'/my/relative/url']")
> 

Thanks, Klaus, I don't know why I overlooked that before.  I guess I was
looking on the XPath page on jQuery.com, and the syntax was right there on
the CSS page.  This will work just fine for me.
-- 
View this message in context: 
http://www.nabble.com/Using-xpath%3A-can%27t-find-relative-href-tf2199426.html#a6104002
Sent from the JQuery forum at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to