November 2001
Intermediate to advanced
936 pages
68h 43m
English
Range.setStart( ) — set the start point of a range
DOM Level 2 Range
void setStart(NoderefNode, longoffset) throws RangeException, DOMException;
refNode
The node that contains the new start point.
offset
The position of the new start point within
refNode.
This method throws the same exceptions, for the same reasons, as
Range.setEnd( ). See that method for details.
This method sets the start point of this range by specifying the
values of the startContainer and
startOffset properties.