set radio button checked javascript code example
Example 1: how to clear radio button input when someone types in an input field
<script>
$('#textInput').click(function () {
$('input[name="radio"]').prop("checked", false);
});
</script>
Example 2: 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-->