I am using javascript for the first time.Actually i want to get the latitude and longitude of an address using java script.Can anyone guide me..
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you need latitude and longitude of a given adress, you can use google maps api
https://developers.google.com/maps/documentation/javascript/
Here is an example:
https://google-developers.appspot.com/maps/documentation/javascript/examples/geocoding-simple
EDIT: to display it in an alert popup: