0

My checkbox does not work currently it works on computer as normal but not on IOS. Any help would be appriciated!

function terms_changed(termsbox) {
  if (termsbox.checked) {
    document.getElementById("submit").disabled = false;
  } else {
    document.getElementById("submit").disabled = true;
  }
}
#accept {
  width: 700px;
  height: 75px;
  font-size: 0.5em;
  border: none;
  position: absolute;
  left: 30%;
  top: 80%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
<input id="accept" type="checkbox" name="accept" value="1" onclick="terms_changed(this)">
tacoshy
  • 10,642
  • 5
  • 17
  • 34
Python 123
  • 59
  • 1
  • 13

0 Answers0