how to find checkbox in check or not in Jq code example
Example: how to check the checkbox in jquery
check all checkbox whit button
// Check #x
$( "#x" ).prop( "checked", true );
// Uncheck #x
$( "#x" ).prop( "checked", false );
example
$('.checkAll').click(function () {
if($(':checkbox').is(':checked')){
$(':checkbox').prop( "checked", false );
}else{
$(':checkbox').prop( "checked", true );
}
})