I have a JSP page that uses struts tags for text fields, 2 radios and 5 checkboxes. The checkboxes need to be disabled depending on which radio is selected. I've attached onclick to each radio and have a javascript function in place. Problem is how to I reference an actionForm property in the javascript. I've tried document.forms[0].elements['accessDocumentSunday'].disabled = true;
with no success. I keep getting the error accessDocumentSunday is null or not a type.
with no success. I keep getting the error accessDocumentSunday is null or not a type.