html how to change whether something is disabled by a radio button code example Example: disabled radio button $(':radio:not(:checked)').attr('disabled', true);