I have 4 checkbox category
1. All Check
2. 20s age check
3. 30s age check
4. 40s age check
Inside <form> i have multiple checkboxes which I have distinguished by Id2,Id3 so on for 20s,30s respectively.
how can I checked 1. for all, 2. for 20s, 3. for 30s etc.
any sample code would be very much appreciated