TOC PREV NEXT INDEX

domref



startContainer


Returns the Node within which the Range starts.

Syntax

startRangeNode = range.startContainer;
 

Parameters

startRangeNode is a reference to a Node

Example

range = document.createRange();
 
range.setStart(startNode,startOffset);
 
range.setEnd(endNode,endOffset);
 
startRangeNode = range.startContainer;
 

Notes

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

Specification:

startParent


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