Get Url Parameters


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

Read a page's GET URL variables and return them as an "associative array."

Calling the function while at `example.html?foo=asdf&bar=jkls` sets `map['foo']='asdf'` and `map['bar']='jkls'`

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.