how to deselect a radio button in html code example Example: disabled radio button $(':radio:not(:checked)').attr('disabled', true);