Forum Moderators: open

Message Too Old, No Replies

Undo/Redo problems in a textarea

I think it's innerHTML

         

Greven

1:23 am on Aug 8, 2007 (gmt 0)

10+ Year Member



Hello,

So I've made a little custom app for work that aggregates some of my work tools into one window. What I have is a text area that is being used as a notepad. I used to be able to do many many undo/redos through ctrl-z/ctrl-y, but after many changes to the tool this functionality went away, so I can't say what particularly does it. I have tried some google searching and got a lead showing that innerHTML may be the culprit, but I can't imagine why or how to work around it. This is being used on IE 6 only, so any help would be great.

penders

11:31 am on Aug 8, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Not a solution I'm afraid... I too use the <textarea> element as a 'notepad' and have lost the ability to Undo/Redo in IE6 (to be honest I don't recall ever having the ability, although others have claimed it works/ed fine?!). I don't use innerHTML to write directly into the <textarea>, although I do use innerHTML to write to other elements on the page (as the user types)?

The Undo functionality works fine in FF2/Opera9.