LbGmapLocation is a project mainly written in JavaScript, it's free.
Use Google Maps v3 to autocomplete the name of a location and grab the coordinates of said location
Copyright (c) 2011. Licensed under the MIT license.
A jQuery plugin that autocompletes locations based on the user input and returns said location's coordinates.
$('#input').lbGMapLocation()