October 2002
Intermediate to advanced
136 pages
2h 44m
English
DocumentFragment
DocumentFragment inherits the methods and properties of Node, and defines no new method or properties of its own. It has one important behavior, however: when a DocumentFragment is inserted into a document tree, it is not the DocumentFragment node itself that is inserted, but the children of the DocumentFragment. This makes DocumentFragment useful as a temporary placeholder for nodes you want to insert, all at once, into a document.
Document.createDocumentFragment(
)
Read now
Unlock full access