Skip to content

Instantly share code, notes, and snippets.

@alvarezmauro
Last active October 21, 2016 04:12
Show Gist options
  • Save alvarezmauro/6ff6c05a580fcfe5ed78 to your computer and use it in GitHub Desktop.
Save alvarezmauro/6ff6c05a580fcfe5ed78 to your computer and use it in GitHub Desktop.
JS - Get A URL Hash Parameter
// Get # parameter
var param = document.URL.split('#')[1];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment