I have a two columns of checkboxes with predictable names. How can I disable a checkbox in column B when the ones in column a is unchecked and only enable it when the first the checkbox a is enabled?
<dmf:checkbox
name="someNameAColumnNumber"
value="true"
onclick = "enableColumnBCheckBox" runatclient="true"
/>
Is there something like on checkvalue = true set equivalent checkbox B to true and the other way around?
EDIT the checkboxes are not in a form.. they are in a nested table.
EDIT2 should work only in IE6 (I know....) not looking for cross browser compatibility