November 2001
Intermediate to advanced
936 pages
68h 43m
English
Range.setEndBefore( ) — end a range before the specified node
DOM Level 2 Range
void setEndBefore(Node refNode)
throws RangeException,
DOMException;refNode
The node before which the end point of the range is to be set.
This method throws the same exceptions in the same circumstances as
Range.setEndAfter( ). See that method for details.
This method sets the end point of this range to fall immediately
before the specified refNode.