Answers for "html radio uncheck"

8

html radio button checked

<input type="radio" id="huey" name="drone" value="huey"
         checked> 
<!-- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio-->
Posted by: Guest on May-17-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 "html radio uncheck"

Browse Popular Code Answers by Language