Given that you have two distinctly separate TextRange objects, you can test whether they are both equivalent to one another by passing one as an argument to this method being called on the other. You may accomplish the same thing less conveniently with the compareEndPoints() method.
See also: | TextRange.compareEndPoints() |
Prev | Home | Next |
TextRange.inRange() | Up | TextRange.move() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |