how to get checkbox value is checked or not in jquery using if else condition code example
Example: how get checkbox if checked in jquery
if($("#rule").is(":checked")){
$("#form").submit();
}
if($("#rule").is(":checked")){
$("#form").submit();
}