title: Reload the page with parameter triggered by JavaScript dropdown change event
body: <p>I want a form to be reloaded and preselected with the selection made. Here's the HTML form I have:</p>
  
  <pre><code>&lt;form name='vehicleform'&gt;
  
  &lt;select name='vehiclelist'&gt;
    &lt;option value=''&gt;Select&lt;/option&gt;
    &lt;option value='bus'&gt;Bus&lt;/option&gt;
    &lt;option value='bike'&gt;Bike&lt;/option&gt;
    &lt;option value='car'&gt;Car&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;input type='text' name='current'&gt;&lt;/input&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>When the user opens the page for the first time the dropdown box will be on the <strong>Select</strong> option by default and the textbox (current) will be empty. </p>
  
  <p>When the user selects any option from dropdown the page needs to reload and that dropdown item should be selected and the value of that dropdown should be in the text input field.</p>
  
  <p>What's the JavaScript function that I need to make this happen?</p>