November 2001
Intermediate to advanced
936 pages
68h 43m
English
Range.cloneContents( ) — copy range contents into a DocumentFragment
DOM Level 2 Range
DocumentFragment cloneContents( )
throws DOMException;A DocumentFragment object that contains a copy of the document content within this range.
If this range includes a DocumentType node, this method throws a
DOMException with a code of
HIERARCHY_REQUEST_ERR.
This method duplicates the contents of this range and returns the results in a DocumentFragment object.