cloneRange
Returns a Range object with boundary points identical to the cloned Range.
Syntax
Parameters
Example
range = document.createRange(); range.selectNode( document.getElementsByTagName("div").item(0)); clone = range.cloneRange();
Notes
clone is copied by value, not reference, so a change in either Range does not effect the other.
Specification
Netscape Communications http://developer.netscape.com |