mapping of url parameters


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

given a url:
>`http://www.someurl.com/page.html?param1=foo&param2=bar`

You can use map.param1 outside of the function such as:
>`$('#some_hidden_field').val(map.param1);`

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.