I am using Select and JavaScript. When a user selects any value, I like to pass that value to JavaScript function but I cannot pass it. I can pass any value for input value. Is there any way that I can pass any value to a function, when user selects any option? Please see my sample select and function.

<select name=sTermPref <%=Trim(RSCHECK("sTermPref"))%> size="1" onChange = "getInfo()">
<option selected> <%if RSCHECK("sTermPref") <> "" then response.write RSCHECK("sTermPref") %>
</option>
<option>Variable</option>
<option>6 Month Closed</option>
<option>6 Month Convertible</option>
<option>6 Month Open</option>
<option>1 Year Closed</option>
<option>1 Year Convertible</option>
<option>1 Year Open</option>
<option>2 Year Closed</option>
<option>3 Year Closed</option>
<option>4 Year Closed</option>
<option>5 Year Closed</option>
<option>7 Year Closed</option>
<option>10 Year Closed</option>
</select>


<SCRIPT language="JavaScript">

function getInfo() {

alert document.forms[0].sTermPref.value ;

}

</SCRIPT>