Export (0) Print
Expand All

cloneRange method

Returns a new range with boundary points that are equal to the original range.

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

Syntax

var oClonedRange = Range.cloneRange();

Parameters

oClonedRange [out, retval]

Type: Range

Returns a Range object.

Return value

Type: Range

Returns a Range object.

Exceptions

ExceptionCondition
InvalidStateError

detach has been invoked on the object.

Standards information

See also

Range
cloneContents

 

 

Show:
© 2014 Microsoft