on checked checkbox jquery code example
Example 1: oncheck event jquery
$(".checkbox").change(function() {
if(this.checked) {
//Do stuff
}
});
Example 2: jquery is checked
if ($('[name="your_input_checkbox_name"]').is(":checked"))
{
// it is checked
} else {
// it isn't checked
}