Javascript Methods JavaScript Reference




function function1() {
   var newDoc = document.createDocumentFragment();
   newDoc.innerHTML = "

some text

";
   alert(newDoc.innerHTML);