Skip to content

Instantly share code, notes, and snippets.

@niraj-shah
Created January 7, 2013 11:26
Show Gist options
  • Save niraj-shah/4474326 to your computer and use it in GitHub Desktop.
Save niraj-shah/4474326 to your computer and use it in GitHub Desktop.
// variable to store the coordinates
var location = position.coords.latitude + ',' + position.coords.longitude;
// select the span with id status
var s = $('#status');
// update the status message
s.html('found you!');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment