Why value of google.loader.ClientLocation.address.city was delaied under event load in page of html

2 views
Skip to first unread message

badnews

unread,
Jul 9, 2009, 4:57:57 AM7/9/09
to Google AJAX APIs


the process:
when event load , getting the value of city,
then, visiting database, the value of city is parameter to get
data in this area.

but now, I get the value of city after visiting database.



GEvent.addDomListener(window,"load",function()
{
var LoginRegion = google.loader.ClientLocation.address.city;

targets = eval(VisitDb2("9","false`" + escape
(LoginRegion),false,false))
})
Reply all
Reply to author
Forward
0 new messages