Is it possible to save the contents of an ejRTE control automatically when the control loses focus? Alternately, would it be possible to save the contents of the control periodically, say every 15 seconds?
The blur event would be the obvious choice but the ejRET doesn't expose a blur event.
The change event would be the other obvious choice here but I believe that event will fire too often; unless the changes could be cached and submitted when the user leaves the page.
Would it be possible to catch an event triggered when the user leaves the page, and if the control has unsaved changes, save them at that point? For example, the change event could set a flag indicating that there are unsaved changes, and the "save" button would set that flag to false.