Hi Adam
Thanks for the speedy response.
This works well in Firefox - thank you. However, it doesn't seem to be doing anything in IE6. CE_AttachEvent fires correctly, and the function completes, but then the OnKeyPress event doesn't seem to generate anything.
Please could you help?
Also, I don't know if I'm doing the most sensible thing overall. I want a function that tells me when the page unloads whether the content of the CuteEditor has changed since the page was loaded.
Adding an event onKeyPress isn't really a great solution, because it fires every time the user presses a key, whereas I just need it to fire once. Is there an inbuilt CuteEditor property to check whether the content has been altered - an isDirty property (like in FCKEditor) or similar?
Thanks
Anna