[thelist] Accessing selected text within a text area (JavaScr ipt)
Kevin Isom
kisom at diocesan.school.nz
Tue Mar 18 17:03:03 CST 2003
Scott,
document.selection.createRange().text
only works in IE though.
Cheers
Kev
-----Original Message-----
From: Scott Brady [mailto:evolt at scottbrady.net]
Sent: Wednesday, 19 March 2003 10:40 AM
To: thelist at lists.evolt.org.uk
Subject: [thelist] Accessing selected text within a text area
(JavaScript)
(sorry if this gets posted twice, I sent this the first time from the wrong
e-mail address)
I'm working on an administrator page for a site where I'd like to be able to
access a block of text within a textarea that a user has highlighted.
Unfortunately, all of my reference books are at work, and I'm snowed in at
home. I'm trying to find it online without a whole lot of success.
(for browser compatibility, I'm looking at versions 5+)
Scott
-------------------------------------------
Scott Brady
http://www.scottbrady.net
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list