The onChange event gets triggered when the state of an element is changed
An event which occurs when user clicked an object
"Checkbox onchange should be more meaningful than onclick"
from question "Checkbox in bootstrap label not working"
"Here s something that should get you started - this is all based on the assumption that there are only 3 checkboxes on your whole page and that you re interested in all of them - you ll want to make a method like this respond to your checkbox elements onclick events - i ve found that to be more reliable than onchange"