One thing to note is that Void is not equal to the empty String(). So
when your query[] array is empty, this line on your window.onload()
function does the wrong thing:
if (query['id'] != ''){
Try setting a default value
query['id']='';
before analysing the parameters.
[Note: don't try using if (query['id']) because that would miss the
situation where the parameter was ?id=0.]
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---