posted 14 years ago
hi,
how about writing one generic function which handles all the checkboxes? say you have a javascript method called
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?