The forums ran from 2008-2020 and are now closed and viewable here as an archive.
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.