html radio button javascript code example
Example 1: javascript how to select radio button
function check() {
document.getElementById("red").checked = true;
}
Example 2: radio button html js
getElementById("radio_button").checked(); //returns boolean