Click here to Skip to main content
15,298,916 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want javascript to uncheck the header checkbox when all of the child checkboxes gets unchecked. please reply with a relevant solution.

thanks in advance
Posted
Updated 3-Apr-10 2:24am
v2

1 solution

Use JQuery to add a handler for the changed event of the children checkboxes. In that test if all have been unchecked and uncheck the parent.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900