Grab GET params with Javascript


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

url: http://www.example.com/?foo=bar

usage: $_GET['foo'] // 'bar'

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.