[Laszlo-user] LzDataElement cloneNode question

Adam Wolff adam at laszlosystems.com
Tue Apr 11 12:02:56 EDT 2006


On Apr 11, James Howe wrote:
[snip]
> So, does this mean that if I clone a particular data element, and the
> data  element has children, the new node will have as it's children the
> same  node objects as the original, or does it mean that the children of
> the  original node will also be cloned?
The latter. You usually want to call cloneNode with true. The signature is
designed that way to match the W3C DOM API.

A


More information about the Laszlo-user mailing list