Ticket #10787 (closed bug: duplicate)
Selecting by [nodeName] finds nothing in 1.7
|Reported by:||drew.wells00@…||Owned by:|
The syntax being discussed here is performing a find on a jQuery wrapped document.
var xml = "<doc><dsp></dsp></doc>", $xml = $( $.parseXML( xml ) ); $xml.find('[nodeName=dsp]');
1.6.4 (works): http://jsfiddle.net/vZkUH/
I repeated these tests with localName and got the same results. Perhaps there is a simple solution to workaround this.