Bug Tracker

Opened 7 years ago

Closed 7 years ago

#13017 closed bug (notabug)

parseXML doesn't allow access to attributes of root node

Reported by: cpackard@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:

Description

See your parseXML example, replaced the first append with:

$( "#someElement" ).append( $xml.attr('version'));

and you see it fails. Can also see it on jsfiddle: http://jsfiddle.net/QqQTF/

Tested on IE 9 and Chrome.

Change History (1)

comment:1 Changed 7 years ago by dmethvin

Resolution: notabug
Status: newclosed

Please ask for help on the forum. You're looking in the #document root node for the <rss> attribute. And please use the most recent version of jQuery when reporting problems.

Note: See TracTickets for help on using tickets.