title: Go to the url of the selection after submitting the form
body: <p>I have the following code so depending on the selected option, the visitor is directed to a new page on change. But I want them to be directed to that page after they've clicked on the submit button, not immediately on change. How can I do that?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt; 
  function go()
  {
  window.location=document.getElementById("link").value
  }
  &lt;/script&gt;
  &lt;form&gt;
  &lt;select id="link" onchange="go()" &gt; &lt;option&gt;DEFAULT&lt;/option&gt;
    &lt;option value="page1.php"&gt;TITLE1&lt;/option&gt;
    &lt;option value="page2.php"&gt;TITLE2&lt;/option&gt;
    &lt;option value="page3.php"&gt;TITLE3&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;div class="submit"&gt;  &lt;input name="submit" type="image" id="submit" src="images/getaquotebutton.png"  height="93" width="259"/&gt; &lt;/div&gt;&lt;!--end of submit class--&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>Many thanks in advance</p>