To clear a radio button input or check box, simply remove the checked attribute using the
removeAttr() method or set the checked attribute value to an empty string.
Sample: sample55.html
Selecting/clearing multiple check boxes or radio button inputs
You can use jQuery’s val() on multiple check-box inputs or radio-button inputs to set the inputs
to checked. This is done by passing the val() method an array containing a string that
coincides with the check box input or radio button input value attribute.
Sample: sample56.html