![]() |
|
|
+ Search |
![]()
|
Aug 28th, 2000 10:09
Martin Honnen, Jim Baird,
You get the selected value with
var select = document.formName.selectName;
var value = select.options[select.selectedIndex].value;
Then you pass it into a function
functionName(value);
You can do that in the event handler onchange
<SELECT NAME="selectnName"
ONCHANGE="var value = this.options[this.selectedIndex].value;
functionName(value);"
>