Returns a document fragment containing the nodes of a range. If any nodes are partially selected, their start or end nodes are included.
retVal = object.cloneContents(oDocumentFragment);
- oDocumentFragment [out, retval]
Returns a document fragment object.
IHTMLDOMRange::detach has been invoked on the object. Versions earlier thanInternet Explorer 10 return INVALID_STATE_ERR.
A document type node is included in the range that is being cloned. Versions earlier than Internet Explorer 10 return DOM_HIERARCHY_REQUEST_ERR.
Build date: 11/17/2013