XML DOM createRange() method
Definition and usage
The createRange() method creates Range object.
Syntax:
createRange()
Return value
Returns the newly created Range objectwith both boundary points set to the beginning of the document.
description
This method will create a Range object, which can be used to represent a region of the document or related to the document DocumentFragment object.
Note that this method is not defined by the Document interface, but by the DocumentRange interface. If an implementation supports the Range module, then Document objectIt will implement the DocumentRange interface and define this method. IE 6 does not support this module.