detach method

Removes or detaches an object and associated resources.

Document Object Model (DOM) Level 2 Traversal and Range Specification, Section 2.13Internet Explorer 9

Syntax

object.detach()

Parameters

This method has no parameters.

Return value

Type: HRESULT

This method can return one of these values.

Return codeDescription
S_OK

The operation completed successfully.

InvalidStateError

If detach has been invoked on the object.

 

Standards information

See also

NodeIterator
Range

 

 

Show:
© 2014 Microsoft