Javascript Reference
Categories: TextRange

javascript TextRange duplicate( )

@March 15, 2008, 1:22 a.m.
duplicate( )Firefox/Netscape/NN n/a IE 4(Win) Chrome/Safari/DOM n/a  

  

Creates a new TextRange object with the same values as the current range. The new object is an independent object (the old and new do not equal each other), but their values are initially identical (until you start modifying one range or the other).

 
Parameters

None.

 
Returned Value

TextRange object.


Powered by Linode.