On Mon, 10 May 2010 07:11:06 +0200, Biju <[email protected]> wrote:
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

How is it complicated? Also, bugs in a feature is not a good reason to add more features. It only increases the amount of bugs and complicates the overall platform.


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


--
Anne van Kesteren
http://annevankesteren.nl/

Reply via email to