Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Copy document DOM without reference

BodyCopy = document.body.cloneNode(true);
// ...
document.body = BodyCopy;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Copy #document #DOM #reference
ADD COMMENT
Topic
Name
5+9 =