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
Another correct answer could be:
inputs[i].checked = input.checked ? false : true;