deleteContents
(method
)
Owning interface and usage:
Member of these other interfaces:
none
Description:
Removes the contents of a Range from the containing document or document fragment without returning a reference to the removed content.
Parameters:
none
Returns:
nothing
Exceptions:
- DOMException NO_MODIFICATION_ALLOWED_ERR
-
Raised if any portion of the content of the Range is read-only or any of the nodes that contain any of the content of the Range are read-only.
- DOMException INVALID_STATE_ERR
-
Raised if detach() has already been invoked on this object.