On select event of a HTML dropdown value, I want to trigger being directed to a certain URL and that selected value being appended to the URL as query string. How to achieve that in javascript or jquery?
<select id="hospitalDropDown">
<option>All Hospitals</option>
<option>Dyer</option>
<option>Carmel</option>
<option>Indianapolis</option>
<option>Beech Grove</option>
</select>
So if Dyer is selected, the result should be being directed to http://mysite.com/events.aspx?hosp=Dyer
Can someone help?