I'd like to do something like this, where the script checks to see if an
option exists:
if (document.formn ame.selectname. options["optionvalu e"]) != NULL) {
do something;
}
So it would return true if <option value="optionva lue"></option> existed.
Any ideas?
Thanks.
option exists:
if (document.formn ame.selectname. options["optionvalu e"]) != NULL) {
do something;
}
So it would return true if <option value="optionva lue"></option> existed.
Any ideas?
Thanks.
Comment