Name
Range.setStartAfter( ): start a range after the specified node â DOM Level 2 Range
Synopsis
void setStartAfter(NoderefNode
)
throws RangeException, DOMException;
Arguments
-
refNode
The node after 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 reference page for details.
Description
This method sets the starting point of this range to be
immediately after the specified
refNode
.
Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.