Does the city method only work in Firefox? for example if I wanted to print the city of the user:
if (navigator.geolocation)
{
navigator.geolocation.getCurrentPosition(function(location) {
document.write(location.address.city);
});
}
If this is true, what's the best way to find a users city? Take the lat and long and plug it into google's location api?