tags:

views:

47

answers:

1

Hi, I have a dropdown menu, which I want to use $('form#form').submit(); on from a .change() event, but how would I append a query string to the submitted page?

So the resulting page would be example.com/submitted-form/?querystring=something

+1  A: 

If I understand it right, you want to set up your form like:

<form id="form" method="get" action="">
<select name="querystring">
...dropdown menu...
</select>
</form>

By submitting this form, you will be directed to the same page, appending the query string.

Augusto Men