I was wondering how one can select a radio button when a certain checkbox is clicked. I've got two radio buttons (one with value 1 and the other with value 2). Furthermore I've got three checkboxes that are positioned in a way that they appear as subitems for the second radio button. Now I would like to enhance that effect by selecting the second radio button whenever one of the checkboxes are clicked.
How does one do this? I already tried assigning a value to the radio button with an onclick event (onclick="document.form.B2.value = 2"), but this doesn't seem to work.
Anyone know how to do this?