Javascript Reference
Categories: Range

javascript Range cloneRange( )

@March 15, 2008, 1:22 a.m.
cloneRange( )Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM 2  

  

Returns a Range object that is a carbon copy of the current range, including references to associated containers. This method lets you preserve a copy of a Range object's specifications while creating a new Range object. Similar to the IE TextRange object's duplicate( ) method.

 
Parameters

None.

 
Returned Value

Reference to a Range object.


Powered by Linode.