Easily build a great vocabulary without studying! Now on the App Store!
Click here for more info about the app
More detailed information on the TinyMCE specifics can be found at this site <a href="http://www.crossedconnections.org/w/?p=88">
A simple solution to this problem is to call the function that writes to the textarea. This will update the textarea and the observer_field function will notice the changes. You can use prototype "PeriodicalExecuter" to trigger a function that will contain the TinyMCE callback function. Below is the code.
However, the only problem with this approach is that you're kind of running two functions that do the same thing. Instead it would make more sense to get rid of the observe_field function altogether and have the PeriodicalExecuter trigger a function that makes the ajax request at the same time. This would look something like