AvailabilityDOM Level 2 Range Synopsisvoid setEndAfter(Node refNode) throws RangeException, DOMException; Arguments
ThrowsA RangeException with a code of INVALID_NODE_TYPE_ERR if refNode is a Document, DocumentFragment, Attr, Entity, or Notation node, or if the root container of refNode is not a Document, DocumentFragment, or Attr node. A DOMException with a code of WRONG_DOCUMENT_ERR if refNode is part of a different document than the one through which this range was created. DescriptionThis method sets the end point of this range to fall immediately after the specified refNode. |