Answers for "select statement with radio buttons"

3

javascript how to select radio button

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

how to click on div to select radio button

.isHidden {
  display: none; /* hide radio buttons */
}

.label {
  display: inline-block;
  background-color: red;
  width: 120px;
  height: 120px;
  padding: 5px 10px;
}

.radio:checked + .label {   /* target next sibling (+) label */
  background-color: blue;
}
Posted by: Guest on May-25-2021

Code answers related to "select statement with radio buttons"

Code answers related to "Javascript"

Browse Popular Code Answers by Language