Topic: get partially checked with getChecked() ?

Hi,
looking at the demo found here:

http://mifjs.net/tree/Demos/index.html#CheckboxDeps

expand the node  "books" and select a child, then hit "get Checked" - it wont print out the partially selected parent.

Expand the node "node 1.6" and select the child "node 1.6.2" and hit "get Checked" and it WILL print out the parent.

Im only seeing the first behaviour in my setup, but I need the second!

My question is this: is there a way to report back ALL checked items, both partially checked and fully checked?

Thanks so much for a great class,
Jacob

Last edited by jboyo (2011-06-24 04:20:46)

Re: get partially checked with getChecked() ?

I think the answer lies in an undocumented feature - adding true as an argument to getChecked() includes all partials.

Thanks again,
Jacob