<Script Language="JavaScript">
function isSelect()
{ var value=document.all["OpName"].value;
var text=document.all["OpName"].text;
}
</Script>
Lets say my dropdown has 5 different options(choices), how would I access the 4th option if I had to?
I thought it was something like
document.formname.selectname.index
or
document.formname.selectname.option(index)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.