November 2001
Intermediate to advanced
936 pages
68h 43m
English
Document.createRange( ) — create a Range object
DOM Level 2 Range
Range createRange( );
A newly created Range object with both boundary points set to the beginning of the document.
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.