- February 8, 2017
- Posted by: Bharat Patel
- Category: Uncategorized
Now Using jQuery we can easily do it and thats why i love it. we need only few lines of code for check or uncheck check boxes.
var status = jQuery(this).attr(‘checked’);
this.checked = status;
1. Name and id of main checkbox.
2. Name of all checkboxes has to be checked.
I hope you may like it.