TOC PREV NEXT INDEX

domref



endContainer


Returns the Node within which the Range ends.

Syntax

endRangeNode = range.endContainer;
 

Parameters

endRangeNode is a reference to a Node.

Example

range = document.createRange();
 
range.setStart(startNode,startOffset);
 
range.setEnd(endNode,endOffset);
 
endRangeNode = range.endContainer;
 

Notes

Returns a reference to the Node in the document within which the Range ends This property is read-only. To change the end position of a node, use one of the setEnd methods.

Specification:

endParent


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX