[whatwg] Request for new DOM property textarea.selectionText

Biju bijumaillist at gmail.com
Sun May 9 22:11:06 PDT 2010


Can we have a new DOM property textarea.selectionText
which can be used to set/get selection text of a TEXTAREA/INPUT type=text.

Current method is complicated and varies between IE and Firefox


Thanks
BijuGC

PS,
I have already submitted https://bugzilla.mozilla.org/show_bug.cgi?id=404981
Trying to programmatically replace a small selection text in TEXTAREA
with a large text content is slow in Firefox due to
https://bugzilla.mozilla.org/show_bug.cgi?id=190147
But I know if we paste manually it works fast enough. So may be having
.selectionText helps



More information about the whatwg mailing list