if checkbox is checked jquery without clicking on checkbox code example
Example: jquery check if checkbox is checked
if($('#on_or_off_checkbox').is(':checked')){
//I am checked
}
if($('#on_or_off_checkbox').is(':checked')){
//I am checked
}