August 2006
Intermediate to advanced
1018 pages
34h 13m
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.
DocumentFragment, Range.deleteContents( ), Range.extractContents( )
Read now
Unlock full access