Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

.html jquery in javascript



function copyHtml(source, destination) {
  var clone = source.ownerDocument === destination.ownerDocument
      ? source.cloneNode(true)
      : destination.ownerDocument.importNode(source, true);
  while (clone.firstChild) {
    destination.appendChild(clone.firstChild);
  }
}


Source by w3programmers.org #
 
PREVIOUS NEXT
Tagged: #jquery #javascript
ADD COMMENT
Topic
Name
1+4 =