disable and enable an element if another is selected
hi everyone!!
I need to enable a set of radio buttons and text fields if an option of a form is selected and disable them if the user do not select the option. The objective is to let the user fill this radios and text fields only if the checked a specified radio button.
I already know how to disable it. I used:
<input type="text" value="122" name="option2" onfocus="option2.blur()">
my problem is that I dont know how to "unblur" the element once the user clicks the radio button. :rolleyes:
Any soon reply will be hiiiiiighly appreciated!! :D
Thanks a lot!!