Hi everyone,

The following code depends on hasChild() to keep the popup element
from being hidden when one of its children is clicked. The second one
will disappear if a <label> element is clicked, because, as logged,
the label element is somehow still the child of the clone()d form. The
first one doesn't clone the form in question and behaves predictably.

Works, doesn't clone: http://mootools.net/shell/eeyGK/1/
Broken, clones: http://mootools.net/shell/eeyGK/2/

What's going on here, and what do I need to do to get clone() to copy
child elements properly?

Thanks,
Thomas

Reply via email to