Hey Mike,
It's perfectly fine to set the checked DOM property there, which takes
a Boolean. I think something else is wrong with the OP's code.
I put together a little demo:
http://test.learningjquery.com/checkbox.html
Click the parent checkbox, and all the children checkboxes will toggle
b
> Please consider the code below, supposed to check all child checkboxes
> wjen a parent checkbox has been checked.
>
> //parentCheckbox and childCheckboxes are two variables set earlier.
> //Here are typical values they produce once alert()
> //I reproduce the exact string outputed when alert() :
2 matches
Mail list logo