Export (0) Print
Expand All

createRange method

Returns an empty range object that has both of its boundary points positioned at the beginning of the document.

Document Object Model (DOM) Level 2 Traversal and Range Specification, Section 1.2Internet Explorer 9

Syntax

var oRange = document.createRange();

Parameters

oRange [out, retval]

Type: Range

Returns a Range object, if the method succeeds.

Return value

Type: Range

Returns a Range object, if the method succeeds.

Standards information

See also

document

 

 

Show:
© 2014 Microsoft