Mozilla.com

  1. MDC
  2. Portada
  3. DOM
  4. range.startContainer

« Referencia DOM de Gecko

Summary

Returns the Node within which the Range starts.

Syntax

startRangeNode = range.startContainer;

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

Page last modified 22:46, 18 Jul 2008 by DR

Archivos (0)