Answers for "javascript get radio form button"

11

get radio button value javascript

document.querySelector('input[name="rate"]:checked').value;
Posted by: Guest on May-17-2020
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