I have a select dropdown with id\'s mapped to values. On the onChange event I want to redirect to the same url but with \'id=value\' appended to the querystring.
How do
setting window.location.search will update the url's query string (and overwrite a value if it already exits)
window.location.search
$('#selector').change(function(){ window.location.search = "id=" + $(this).val(); });