title: Passing Select Option Value into OnChange Function
body: <p>I've got an HTML form that I'm using JavaScript to submit with the 'onchange' function of a select control like this:</p>
  
  <pre><code>&lt;form action='seeLocation.php?'&gt;Jump To Location: 
      &lt;select onchange='this.form.submit()'&gt;
          &lt;option value='1'&gt;Location1&lt;/option&gt;
          &lt;option value='2'&gt;Location2&lt;/option&gt;
          &lt;option value='3'&gt;Location3&lt;/option&gt;
      &lt;/select&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The problem is, I need to pass the <code>&lt;option&gt;</code>'s value tag into the form's <code>action</code> tag such it's actually something like</p>
  
  <pre><code>&lt;form action='seeLocation.php?1'&gt;
  </code></pre>
  
  <p>or </p>
  
  <pre><code>&lt;form action='seeLocation.php?2'&gt;
  </code></pre>
  
  <p>etc.</p>
  
  <p>Is that possible?  Thanks!</p>