> Sorry Ralph, but I don't think we are on the same page. What I meant
> by the "added an alert" was merely to show that the
> "request.readyState" returns a one (1). Yet the if statement is
> expecting a four (4). So it never drops into the if /endif segment of
> code to process the xml file.

Yes, it ALWAYS returns a 1 ... first.
Have a look at this, for example -
   http://www.ibm.com/developerworks/web/library/wa-ajaxintro3/
readyState goes through a number of values during the course of a
request.
The normal treatment is to see when it changes, and each time it does
change test its value to see if it is (yet) ready for further
processing.
It starts at zero, when it changes to 1 it's ready to send.
If you trap at this stage (with the alert) your request doesn't even
get sent, never mind progress on to value 4 (complete)

GDownloadUrl() is a convenience wrapper for the same thing, that
listens for state 4 for you.

Not a maps issue, nor is the attribute issue, look wider for hints and
tips!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to