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