Javascript and Forms getting value of selection option
<p>How would I use Javascript to get the value of the options in this form selection?</p>

<p>I know I can use:</p>

<p>document.customerInfo.cardType.selectedIndex==4</p>

<p>but this wont work for me. I have over 30 and I really don't wan to code that much. Is there anyway I can just get the value of the option?</p>

<pre><code>&lt;form id="teamSelect"&gt;&lt;select name="team"&gt;
    &lt;option value="TEN"&gt;Tennessee&lt;/option&gt;
    &lt;option value="GB"&gt;Green Bay&lt;/option&gt;
    &lt;/select&gt;
    &lt;input type="button" value="submit" onclick="games();"/&gt;
    &lt;/form&gt;
</code></pre>
