This is the MSIE equivalent functionality to the Netscape document.getSelection() method.
Any selected text is returned by a request for this property.
On Netscape use the document.getSelection() method instead.
On the Macintosh MSIE 5.0 browser, the selection property consistently returns null even when there is some text selected. This may be because the Macintosh implementation of MSIE does not support text ranges.
Prev | Home | Next |
Document.scripts[] | Up | Document.styleSheets[] |
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. |