Re: Default value of cloneNode() parameter

On Mon, 20 Feb 2012 19:52:52 +0100, Aryeh Gregor <ayg@aryeh.name> wrote:
> You mean cloneNode() doesn't take a document as a parameter?

No, I meant that cloneNode() clones all nodes, where as importNode() does  
not clone document objects but does clone everything else. That difference  
is mostly artificial though.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Monday, 20 February 2012 19:58:26 UTC