I am quite new to JavaScript and I am looking for a basic API or function that I can feed an address as a string value and it returns me the longitude and latitude of that address. I have a series of addresses in a DB and I want to add the longitude and latitude values for each of them.
Thanks
Find below example using php
It return all detail you need to get latitude/longitude as below.
For more detail please click on below link:
http://code.google.com/apis/maps/documentation/geocoding/