Is it possible to enable/disable a group of radio buttons dynamically, ie to gray them out dependent on whether a text box on the form has data entered?
Preferably so it works in IE and Netscape.
NN4 does not accept disabled for form elements, but IE does
So based on some condition - just loop thru the radio button group setting the disabled attribute to true, based on some codition, like the text box has data entered.
You could cheat by saying
if(document.formname.text.value != void){
//continue with radio setting
}
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.