[thelist] Accessing selected text within a text area (JavaScr ipt)
Paul Bennett
paul at teltest.com
Tue Mar 18 18:21:33 CST 2003
Kevin Isom wrote:
>Scott,
>
>document.selection.createRange().text
>only works in IE though.
>
works for me on Moz 1.3b. Gecko (Mozilla / NS7) and IE (5+) engines both
support createRange() AFAIK, but the API is not the same (surprise!) for
both.
--
------------------------------
Paul Bennett
Internet Developer
Teltest Electronic Design
------------------------------
Email: paul at teltest.com
Phone: 64 4 237 4557
Web: http://www.teltest.com
Wap: http://wap.teltest.com
More information about the thelist
mailing list