By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,516 Members | 1,178 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,516 IT Pros & Developers. It's quick & easy.

Undo system for text

P: n/a
I`m writing a javascript regex tester (IE 6 only) and would like to include
an undo button for a text input field.

I want it to handle individual keystrokes, pasting and drop, and also
text added by clicking various buttons.

I have tried a LOT of handler combinations and fancy conditionals to
make it work perfectly, and I`m ALMOST there.

If anyone of you guys have seen a working javacript undo system such
as described I would be most grateful if you let me know.
Oeyvind

--
http://home.online.no/~oeyvtoft/ToftWeb/


Jul 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
oeyvind toft wrote:
I`m writing a javascript regex tester (IE 6 only) and would like to ^
This (`) is an accent grave, not an apostroph ('). Use [Shift]+[#]
or whatever key combination is required for your keyboard.
include an undo button for a text input field.
That would require a kind of journal where to log user actions.
I want it to handle individual keystrokes, pasting and drop, and also
text added by clicking various buttons.
Which ones, exactly?
I have tried a LOT of handler combinations and fancy conditionals to
make it work perfectly, and I`m ALMOST there.

^
Which ones, exactly?

Post your code; if too much, post the URL. There are
(almost) no complete working solutions for free here.
PointedEars
--
"Boys go to Jupiter to get more stupider,
girls go to Mars, become rock stars!"
-- Kim Gordon
Jul 23 '05 #2

P: n/a
Thomas 'PointedEars' Lahn wrote:
oeyvind toft wrote:

I`m writing a javascript regex tester (IE 6 only) and would like to


^
This (`) is an accent grave, not an apostroph ('). Use [Shift]+[#]
or whatever key combination is required for your keyboard.


You really *are* as anally retentive as you act.

OP: Ignore his babbling.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #3

P: n/a
Randy Webb wrote:
OP: Ignore his babbling.
Consider it done =O)

Oeyvind
--
http://home.online.no/~oeyvtoft/ToftWeb/

"Randy Webb" <Hi************@aol.com> skrev i melding
news:e-********************@comcast.com... Thomas 'PointedEars' Lahn wrote:
oeyvind toft wrote:

I`m writing a javascript regex tester (IE 6 only) and would like to


^
This (`) is an accent grave, not an apostroph ('). Use [Shift]+[#]
or whatever key combination is required for your keyboard.


You really *are* as anally retentive as you act.

OP: Ignore his babbling.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.