You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.
The following code doesnot give the correct result...........
your database should be updated
<script type="text/javascript" src="http://www.google.com/jsapi?
key=ABQIAAAAp04yNttlQq-7b4aZI_jL5hQYPm-
xtd00hTQOC0OXpAMO40FHAxQMnH50uBbWoKVHwgpklyirDEregg"></script>
<script type="text/javascript">
var visitor_lat ;
var visitor_lon ;
var visitor_city ;
var visitor_region ;
var visitor_country ;
var visitor_countrycode;
if(google.loader.ClientLocation)
{
visitor_lat =
google.loader.ClientLocation.latitude;
visitor_lon =
google.loader.ClientLocation.longitude;
visitor_city =
google.loader.ClientLocation.address.city;
visitor_region =
google.loader.ClientLocation.address.region;
visitor_country =
google.loader.ClientLocation.address.country;
visitor_countrycode =
google.loader.ClientLocation.address.country_code.toUpperCase();
alert(visitor_country);
}
Original issue reported on code.google.com by [email protected] on 23 Mar 2010 at 8:05
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 23 Mar 2010 at 8:05The text was updated successfully, but these errors were encountered: