Answers for "js radio checked"

1

javascript check radio button

// Native JS solution:
document.getElementById("_1234").checked = true;
// JQuery solution:
$("#_1234").prop("checked", true);
Posted by: Guest on December-22-2021
3

javascript how to select radio button

function check() {
  document.getElementById("red").checked = true;
}
Posted by: Guest on March-04-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language