Method: Document.createRange()
Availability
|
BlackBerry
Device Software version 4.7.1 or later
|
The createRange() method creates a new empty Range object.
The Range object can be used only to select content that is associated with the current document, or with DocumentFragment or Attr objects for which this document is the owner.
Syntax
Document.createRange()
Return values
This method returns the new empty Range object. The boundary points
of the Range object that is returned from this method are positioned at the beginning of the corresponding document, before any content.
Was this information helpful? Send us your comments.