Skip to content

Instantly share code, notes, and snippets.

@gwa
Created September 6, 2013 13:19
Show Gist options
  • Save gwa/6463686 to your computer and use it in GitHub Desktop.
Save gwa/6463686 to your computer and use it in GitHub Desktop.
Get hash portion of URL, without #
var locationhash = window.location.hash.replace('#', '');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment