I\'m trying to create a Gmap to allow people to geocode an address and find the respective lat lng. I would like to see this in the forms I\'ve already created. Also, I would li
Inside the geocoder call back do this:
document.getElementById('lat').value = results[0].geometry.location.lat(); document.getElementById('lng').value = results[0].geometry.location.lng();
Working example