Thank you for your fast reply. However, what I had in mind (and forget to put down in thread) was a function written with DOM.
Find all selects in the form, for all selects if value 'Others' is selected than whatever next text field is get enabled.
I mean, can this be rewritten with DOM in mind?
This script works to enable the textfield 'otherz' from
'D1' select option 'Others'.
HTML
<select size="1" name="D1" onChange="dis_able()">
<option>Category A</option>
<option>Category B</option>
<option>Category C</option>
<option value="Others">Others</option>
</select>...
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.