try this :)
<script type="text/javascript" src="http://www.google.com/jsapi"></script> <script type="text/javascript"> function initialize() { var loc = {}; var geocoder = new google.maps.geocoder(); if(google.loader.clientlocation) { loc.lat = google.loader.clientlocation.latitude; loc.lng = google.loader.clientlocation.longitude; var latlng = new google.maps.latlng(loc.lat, loc.lng); geocoder.geocode({'latlng': latlng}, function(results, status) { if(status == google.maps.geocoderstatus.ok) { alert(results[0]['formatted_address']); }; }); } } google.load("maps", "3.x", {other_params: "sensor=false", callback:initialize}); </script>
try this :)