Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- navigator.geolocation.getCurrentPosition(function(position) {
- alert("You're at " + position.coords.latitude + ","
- + position.coords.longitude);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement