In this post will explain how to select and deselect the checkboxes using jQuery
Assume the html code have some set of checkboxes, and two buttons ‘Select all’, ‘Deselect all’. Now I want whenever user selects “Select all” then it should select all other checkboxes and whenever user click ‘Deselect all’ any of them it should deselect the “Select all” boxes.
You can refer this url http://qualitypointtech.net/forum/viewtopic.php?f=25&t=666. We already discussed completely here. Demo also there. Please refer that url.