The TextRange can be set to create an insertion point in the text that corresponds with the X-Y coordinate point of an onscreen location. This is smart stuff indeed because it would be very difficult to compute the text flow and correlate it with screen coordinates.
The result is that the TextRange is set to an insertion point.
Prev | Home | Next |
TextRange.moveToElementText() | Up | TextRange.parentElement() |
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. |