title: Getting a drop down box value with javascript?
body: <p>I'm trying to get the value currently selected and I simply want to alert it.</p>
  
  <p>I current have this:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
  alert(forms.elements('sets').value);
  
  &lt;/script&gt;
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;form&gt;
  &lt;select name="sets"&gt;
    &lt;option value="1"&gt;1 Set&lt;/option&gt;
    &lt;option value="2"&gt;2 Sets&lt;/option&gt;
    &lt;option value="F"&gt;3 Sets&lt;/option&gt;
  &lt;/select&gt;
  &lt;/form&gt;
  </code></pre>