Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
107
rated 0 times [  113] [ 6]  / answers: 1 / hits: 18733  / 13 Years ago, tue, august 16, 2011, 12:00:00

I'm trying to grab an xml node by its attribute.



edit



I'm trying to retrieve an element by its attribute value using javascript xml instead of jquery. Is there a simple method for this?


More From » xml

 Answers
26

You have to find a list of elements first, then filter by their attributes.



Check out my demo here: http://jsfiddle.net/silkster/eDP5V/


[#90582] Monday, August 15, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
carlton

Total Points: 373
Total Questions: 123
Total Answers: 97

Location: Saint Helena
Member since Wed, Nov 9, 2022
2 Years ago
;