handleCheckBoxes(key) and you pass "this", that is, the reference to that box on whose selection you are calling the method.
Now, inside the method, its simply writing the conditions and selecting or unselecting the boxes, right?
Joined: Dec 30, 2008
Shail Narkhede wrote:when click of select checkbox you calling JS function in that you are checking all child checkboxes I guess.
same way when you click on any child checkbox call another JS function in that get all child checkbox & check if any one of them is unchecked then uncheck select checkbox.