Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Feature Requests:
onChange event support



drayner
Novice

Jan 24, 2005, 10:20 AM


Views: 9881
onChange event support

We were using the onChange event of the underlying textarea to alert the user if they were about to loose any changes they made if they navigate away from the page. We don't get onChange events from the htmlarea. It would be nice if there was a way to either have these generated via the textarea, of allow one to register an onChange handler in the HTMLArea.editor.


vigna
Novice

Feb 14, 2005, 2:00 PM


Views: 9788
Re: [drayner] onChange event support

I completely support this request. HTMLArea should fetch the OnChange handler of the underlying TEXTAREA element and call it at each change. In this way it would be almost completely transparent (which appears to be one of the goals of HTMLArea).