DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
cloning an element
var el = document.querySelector('div'); var foo = el.cloneNode(true);
Source by plainjs.com #
PREVIOUS
NEXT
Tagged:
#cloning
#element
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit