Dynamic Radio Buttons and Check boxes

I am trying to develpe a page with multiple radio bottons. The default is to set the first one checked. Up to this point it is straight forward. Then I will have 5 selections with the defualt radio button and 5 other checkbox selection for another radio button, etc. So when user open the page the first radio button and its associated chech boxes are checked. Then when he changes the radio button, I would like the first checked boxes get uncheckes and another set of checkboxes asscosiated with the second radio button get selected.

I appreicate your help as to how to write the function to make check boxes depenedent on radio button selectons.

Sponsor our Newsletter | Privacy Policy | Terms of Service