When a child is unchecked, I need to recurse up the tree and uncheck the parents. For some reason when I say parentNode = node.get_parent() I can not call not then call parentNode.set_checked(); This seems very odd. I am using a javascript debugger and it seems as though the get_parent() method disapears after the assignment to parentNode.
Please help.
This is the heart of what I have now (which is not working).
parentNode = node.get_parent();
Thanks,
Ken
Please help.
This is the heart of what I have now (which is not working).
parentNode = node.get_parent();
while (parentNode != null)
{
parentNode.set_checked(
false); //error thrown here set_checked method not found.
parentNode = parentNode.get_parent();
}
Thanks,
Ken