Problem with Radio Buttons
Posted: Mon May 13, 2019 6:10 pm
I created 4 Radio buttons as shown in the RadiobuttonsDesign image when I click on a Radio button I want to show some sub options for the selected Radio button at the side using check boxes. When I hide the check boxes I get a vertical line instead (see RadiobuttonsVertical Line Image) .
Jquery to hide the checkbox:
Checkboxw1.hidden = true;
$('label[for="Checkboxw1"]').hide();
Also what is the best event for a radio button to check is the Radio button has been selected and unhide the associated check boxes.
I was planning to use a common javascript to process all the radio buttons but I don't know if this is possible or I have to create a function for each for each radio button.
Thanks
Jquery to hide the checkbox:
Checkboxw1.hidden = true;
$('label[for="Checkboxw1"]').hide();
Also what is the best event for a radio button to check is the Radio button has been selected and unhide the associated check boxes.
I was planning to use a common javascript to process all the radio buttons but I don't know if this is possible or I have to create a function for each for each radio button.
Thanks