> I have a form which is submitted through jquery form plugin. The form
> contains only one textarea which uses tinymce. The problem is that when I
> try to submit the form, the new content of the textarea is not sent through
> POST. If there is any content before that modifications, than that content
> is send. If I submit the form twice, than the second time, the new content
> is send.

The key is to invoke tinyMCE.triggerSave before the form plugin
serializes the data.  You can do this by binding to the form plugin's
custom event 'form.pre.serialize' like this:

$().bind('form.pre.serialize', function(event, $form, options) {
    tinyMCE.triggerSave();
});

Mike

Reply via email to