I had this working, but I didnt save and cannot replicate. I am trying to toggle checkboxes using if else. What am I doing wrong.
if else
What I thought would work
It can be easier:
inputs[i].checked = !inputs[i].checked;