JQuery Checked Checkbox : How to check checkbox is checked?

prop() and is() method are the two way by which we can check whether a checkbox is checked or not.

prop():  This method provides an simple way to track down the status of checkboxes. It works well in every condition because every checkbox has checked property which specifies its checked or unchecked status.

is(): This method is also very simple and easy to use. By using this we can easily find whether a checked box is checked or not.

$(selector).prop(parameter);

Leave a Comment

Your email address will not be published. Required fields are marked *