setStartAfter method

Sets the starting point of the range to a point after a specific node.

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

Syntax

var retval = Range.setStartAfter(oNode);

Parameters

oNode [in]

Type: Node

Node in the document hierarchy.

Return value

Type: HRESULT

This method can return one of these values.

Return codeDescription
S_OK

The operation completed successfully.

InvalidStateError

detach has been invoked on the object.

 

Standards information

See also

Range

 

 

Show:
© 2014 Microsoft