Question

I'm currently using the Rich Text Editor from the YUI framework. But I don't know how I can run a function when the content of the editor has changed. Want to do this to give the user a message if they leave the site and there is unsaved changes.

Any idea anyone? :)

Was it helpful?

Solution

I think you want the 'afterNodeChange' event.

Study the API for the Events. It is there that you will find the answers that you seek :-)

OTHER TIPS

editorKeyPress event gives almost all functionality of onchange() html event.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top