Primer: An HTML checkbox can be set as indeterminate, which displays it as neither checked nor unchecked. Even in this indeterminate state, the
indeterminate
This solved my problem
$(".checkbox").click(function(){ $(this).change(); });