DekGenius.com
Team LiB   Previous Section   Next Section
Range.setStartBefore( ) start a range before the specified node

Availability

DOM Level 2 Range

Synopsis

void setStartBefore(Node refNode) 
    throws RangeException, 
           DOMException;

Arguments

refNode

The node before which the start point of the range is to be set.

Throws

This method throws the same exceptions in the same circumstances as Range.setEndAfter( ). See that method for details.

Description

This method sets the starting point of this range to be immediately before the specified refNode.

    Team LiB   Previous Section   Next Section