Hello,

I need to submit a form with a url query like this ?car=black

What would be the jquery code?

Thanks

Code:
<select id="opt1">

   
    <option selected="selected">red</option>
    <option>black</option>
    
  </select>
  <select id="opt2">

    <option>car</option>
    <option selected="selected">bus</option>
    <option>train</option>
    
  </select>