XML DOM setStartBefore() method
Definition and usage
The setStartBefore() method starts the range before the specified node.
Syntax:
setStartAfter(refNode)
Parameters
Parameters | Description |
---|---|
refNode | a node, the starting point of the range to be set is located before the node. |
thrown
This method will be thrown for the same reason as Range.setEndAfter() methodThe same exception is thrown for the same reason.
Description
This method will set the starting point of the range to the specified refNode Position before the node.