In JavaScript, if we write the following for example:
var c = this.checked;
What is checked here? Is it just a state>
checked
In jQuery checked is a selector:
The :checked selector works for checkboxes and radio buttons.
There are some ways to check if a checkbox is checked or not:
For Example:
$('#checkBox').attr('checked'); or $('#checkBox').is(':checked');