Answers for "how to uncheck a radio button"

0

uncheck all radio buttons

$('.classname').prop('checked', false);
Posted by: Guest on May-24-2021
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 "how to uncheck a radio button"

Code answers related to "Javascript"

Browse Popular Code Answers by Language