/

HTML / CSS / JavaScript Tutorial

JavaScript Document own method: createDocumentFragment()

[this page | pdf | back links]

The createDocumentFragment() method (when applied to the document object of the JavaScript DOM) creates an empty DocumentFragment node.

 

It has the following syntax with no parameters. It returns an empty DocumentFragment node.

 

document.createDocumentFragment()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile