![]() |
|
|
+ Search |
![]()
|
May 2nd, 2000 08:59
Martin Honnen, Joe Hudson,
For such tasks you script the ONCHANGE handler of the SELECT element
and check the selectedIndex property e.g.:
<SELECT ONCHANGE="
if (this.selectedIndex == 1 ||
this.selectedIndex == 5)
open(this.options[this.selectedIndex].value);"
>