Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

setStart method

Sets the starting point of a range.

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

 

Syntax


object.setStart(oNode, offset);

Parameters

oNode [in]

Type: Node

Node in the document hierarchy.

offset [in]

Type: long

Specifies the offset value for the starting point.

Return value

This method does not return a value.

Exceptions

ExceptionCondition
InvalidStateError

IHTMLDOMRange::detach has been invoked on the object.

IndexSizeError

offset is negative or greater than the number of child units in refNode. Versions earlier than Internet Explorer 10 return W3Exception_DOM_INDEX_SIZE_ERR.

 

Standards information

 

 

Community Additions

ADD
Show:
© 2015 Microsoft