27 Mar
2006
27 Mar
'06
9:03 p.m.
You'll need to figure out how to deal with unchecking though... if both module type A and module type B require hook C, then what happens if I check A, check B, then uncheck A? You can solve this in a really really dirty way ;). Javascript allows you to extend objects arbitrarily. So you can just add a checked count to the checkbox elements which is incremented every time the checkbox is programmatically checked, and decremented if it is programmatically unchecked. You only actually uncheck it if the counter reaches 0. See attached file. Steven