JavaScript DHTML/Node Operation/createDocumentFragment
"createDocumentFragment()" Example
<source lang="html4strict">
<html> <body> <script language="JavaScript"> function function1() {
var newDoc = document.createDocumentFragment();newDoc.innerHTML = "
Body Content
";alert(newDoc.innerHTML);
} </script> <input id="myT" type="button" value="Click me" onclick="function1();"> </body> </html>
</source>