Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // example xml record
- <Records>
- - <Record>
- <Last>TwoFrame</Last>
- <First>TwoFrame</First>
- </Record>
- // how can i access nodes by name with my responseXML object?
- var xmldoc = req.responseXML;
- var results = xmldoc.getElementsByTagName('Record')[0];
- alert(results[5].childNodes[0].nodeValue);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement