Here Mudassar Ahmed Khan has explained with an example, how to check if a CheckBox is checked or not using ID in JavaScript and jQuery.
When the Check Button is clicked, the CheckBox will be first referenced using its ID and then the status of the CheckBox i.e. checked (selected) or unchecked (unselected) will be determined using JavaScript and jQuery.
↧