on row 6, visiting databae, but the value of localRegion is "",
why?
var localRegion = "";
GEvent.addDomListener(window,"load",function()
{
var geocoder = new GClientGeocoder(); //1
geocoder.getLocations(xy, function(response) //2
{
if (!response) //3
{
var place = response.Placemark[0]; //4
localRegion =
place.AddressDetails.Country.AdministrativeArea.AdministrativeAreaName //
5
var targets = eval(VisitDb2("9","false`" + escape
(LoginRegion),false,false)) //6
}
}
}
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---