Answers for "how to uncheck all radio buttons in html"

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 all radio buttons in html"

Code answers related to "Javascript"

Browse Popular Code Answers by Language