Skip to content

Instantly share code, notes, and snippets.

@ryanburgess
Created January 13, 2014 22:24
Show Gist options
  • Select an option

  • Save ryanburgess/8409277 to your computer and use it in GitHub Desktop.

Select an option

Save ryanburgess/8409277 to your computer and use it in GitHub Desktop.
Get the value from query string (example id=)
yoururl.match(/id=(.*)&/)[1];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment