While the last fix worked fine, I can't seem to make it work for some other values coming out of the same XML file.
What I've added is another node in the XML file with info on transfers, and it's loaded in the same way as the other info was:
// load the XML file
var request =...
Thanks, BillyRayPreachersSon:
I tried the change you suggested. It changed the output, but did not produce the strings with the stop names I wanted.
Here's the streamlined code with your change:
// load the XML file
var request = GXmlHttp.create();
request.open("GET", "stops.xml", true)...
Hi,
I'm doing a little bit of Google Maps API work and am new to JavaScript.
Here is the code:
// load the XML file
var request = GXmlHttp.create();
request.open("GET", "stops.xml", true);
request.onreadystatechange = function() {
if (request.readyState == 4) {var xmlDoc =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.