ZVON > References > DOM2 Reference

detach (method )

Owning interface and usage:  
Range.detach()

Member of these other interfaces:  
none

Description:  
Called to indicate that the Range is no longer in use and that the implementation may relinquish any resources associated with this Range. Subsequent calls to any methods or attribute getters on this Range will result in a DOMException being thrown with an error code of INVALID_STATE_ERR.

Parameters:  
none

Returns:  
nothing

Exceptions:  
DOMException INVALID_STATE_ERR
Raised if detach() has already been invoked on this object.