Compare Revisions

Node.cloneNode

Revision 25505:

Revision 25505 by carpetsmoker on

Revision 25506:

Revision 25506 by alex.w.y on

Title:
Node.cloneNode
Node.cloneNode
Slug:
DOM/Node.cloneNode
DOM/Node.cloneNode
Tags:
DOM, Gecko, NeedsBrowserCompatibility, "Gecko DOM Reference"
DOM, Gecko, NeedsBrowserCompatibility, "Gecko DOM Reference"
Content:

Revision 25505
Revision 25506
n20<em>dupNode</em> = <em>element</em>.cloneNode(<em>deep</em>);n20<em>var dupNode</em> = <em>element</em>.cloneNode(<em>deep</em>);
t31p = document.getElementById("para1")t31<em>var </em>p = document.getElementById("para1"),
32p_prime = p.cloneNode(true);32    p_prime = p.cloneNode(true);

Back to History