Skip to content

Instantly share code, notes, and snippets.

@varemenos
Created February 20, 2012 08:38
Show Gist options
  • Save varemenos/1868446 to your computer and use it in GitHub Desktop.
Save varemenos/1868446 to your computer and use it in GitHub Desktop.
jQuery - get url parameters
window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment