XML DOM setStartAfter() method

Definition and usage

The setStartAfter() method starts the range after the specified node.

Syntax:

setStartAfter(refNode)

Parameters

Parameters Description
refNode a node, the start point of the range to be set is located after the node.

thrown

This method will be thrown out for the same reason as Range.setEndAfter() methodThe same exception is thrown for the same reason.

Description

This method sets the start point of the range to be immediately adjacent to the specified refNode The position of the node.