Con questo codice la console javascript di google chrome da l'errore riportato nel titolo della discussione..![]()
codice:$(function() { $("#city").blur(function() { check_city()}); }); function check_city() { var place = $("#city").val(); geocoder = new GClientGeocoder(); geocoder.getLatLng(place, function(point) { if (!point) { if(place =! "") { alert(place + " not found. Retry!"); document.register.city.value = ""; $('#city').focus(); } } else { //alert(point); //var info = place+"</h3>Latitude: "+point.y+" Longitude:"+point.x; var lat = point.y; var long = point.x; // var marker = new GMarker(point); // map.addOverlay(marker); // marker.openInfoWindowHtml(info); } }