SyntaxFix
Write A Post
Hire A Developer
Questions
$('mainCheckBox').click(function(){ if($(this).prop('checked')){ $('Id or Class of checkbox').prop('checked', true); }else{ $('Id or Class of checkbox').prop('checked', false); } });