Quick and dirty. I want check if all children checkbox are checked, so I would convert
$(this).parent().find(':checkbox').is(':checked')
into boolean array, in order to check it in a if
condition with every()
method.
I have tryied every()
,toArray()
,makeArray
and any combination fo them.
Which is the rigth way?