Answers for "deselect radio button"

-1

javascript uncheck radio button

document.getElementById("radioButtonID").checked = false; //uncheck a radio button
document.getElementById("radioButtonID").checked = true; //check a radio button
Posted by: Guest on August-02-2019
1

how to make radio buttons unselectable

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

Browse Popular Code Answers by Language