Section 25.69. Document.createRange( ): create a Range object


25.69. Document.createRange( ): create a Range object

DOM Level 2 Range:

25.69.1. Synopsis

 Range createRange( ); 

25.69.1.1. Returns

A newly created Range object with both boundary points set to the beginning of the document.

25.69.2. Description

This method creates a Range object that can be used to represent a region of this document or of a DocumentFragment associated with this document.

Note that this method is actually defined not by the Document interface but by the DocumentRange interface. If an implementation supports the Range module, the Document object always implements DocumentRange and defines this method. Internet Explorer 6 does not support this module.

25.69.3. See Also

Range




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net