fast and easy way of parsing query strings in JavaScript


/ Published in: CSS
Save to your folder(s)

Now make a request to page.html?x=Hello:

console.log(getQueryVariable('x'));

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.