I have the following code:
Which disables form element 'p_complete' is the third option is selected from this drop down. What I need to do is disable that element if the first, second or third option is selected.
Meaning something like:
...but of course, obviously this doesn't work or I wouldn't be posting here.
onchange="p_complete.disabled=!(this.selectedIndex==0 or this.selectedIndex==1 or this.selectedIndex==2)"
Does anyone have an answer?