> Antonio Collins wrote: >> Second parameter is search type. >> vAttrValue = object.getAttribute(sAttrName [, iFlags]) [snip] >> 2 Returns the value exactly as it was set in script or in the source >> document.
I've encountered this before, and had discussion on the list about it. I don't think it was concluded though. The problem is that the two argument getAttribute() only exists on HTML elements, NOT XML elements! (in IE that is) To recap, the last post about this was from John Resig: > Specifically, this relates to the 'href' attribute - since browsers > frequently interpret the URL provide into a full URL. If you were to > put in "/foo.html", the browser would (instead) return > "http://mydomain.com/foo.html" > > Although, if it dies on XML documents, I may have to reconsider using > it. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
