Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft