Question

If you head over to flowbase.co.uk and view the source, you'll see what I mean. The text, when clicked, fires a function in an external js file (scripty.js). This then should retrieve the contents of an XML file on the same server and parse those contents into an XML document before displaying the length of the variable holding this XML document. For some reason, i'm not getting any joy - nothing at all happens when clicking the text.

Any ideas?

Was it helpful?

Solution

responseXML is not a function, it is a variable.

Change

dataModel = requestData.responseXML();

To

dataModel = requestData.responseXML;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top