I’m working on a project where I need to load data via AJAX-Request. To do this I use a XML-File. Everything just works fine until I try to get the values of an “activity”.
My approach was the following:
var a_id = xmlDoc.getElementsByTagName(“activity”).childNodes.nodeValue;
But this returns nothing.
Any idea how to “navigate” to “a_id”?
Could you make a [CodePen](http://codepen.io)? That might make it a bit easier to see what’s going on and try stuff out.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed