Answers for "disable button until radio button selected"

2

how to make radio buttons unselectable

Use disabled attribute with input type=radio
<input type="radio" disabled>
Posted by: Guest on June-05-2021
0

disabled radio button

$(':radio:not(:checked)').attr('disabled', true);
Posted by: Guest on October-30-2020
0

how to uncheck a radio button

//jQuery
$('input[name="radio"]').prop("checked", false);

//Vanilla JS
document.getElementById('radio-button').checked = false;
Posted by: Guest on April-18-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language