keep params and add another from a form

Posted by doubtful on Stack Overflow See other posts from Stack Overflow or by doubtful
Published on 2010-03-30T13:28:03Z Indexed on 2010/03/30 13:53 UTC
Read the original article Hit count: 168

Filed under:
|
|
|

Hey Guys, I have the following 3 urls:

http://www.test.com?a=1
http://www.test.com?a=1&b=3
http://www.test.com?a=1&b=2&c=99

Now in a form i have a drop down menu like so:

<select name="b">
    <option value="1">1</option>
     ...
</select>

Now i want to either add that param to the list of existing params or edit the param if its already there, then refresh the page. Any ideas? Thanks

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about params