Jquery Firefox上tinyMCE缺少ajax Post数据

Jquery Firefox上tinyMCE缺少ajax Post数据,jquery,ajax,tinymce,Jquery,Ajax,Tinymce,当我尝试使用ajax提交表单时,我的表单有问题。我正在为Jquery使用Malsup表单插件,但也在使用tinyMCE编辑器。当我提交表单并检查$u POST数组时,textarea中没有数据。我尝试过使用triggerSave()函数,但没有效果。在IE中一切正常 // These options are common and will be used for many form submissions var options = { target: '#notice

当我尝试使用ajax提交表单时,我的表单有问题。我正在为Jquery使用Malsup表单插件,但也在使用tinyMCE编辑器。当我提交表单并检查$u POST数组时,textarea中没有数据。我尝试过使用triggerSave()函数,但没有效果。在IE中一切正常

// These options are common and will be used for many form submissions

    var options = {
        target: '#notice',   // target element(s) to be updated with server response
        dataType:'html',
        resetForm:true,
        beforeSubmit: function(){tinyMCE.triggerSave(false,true);
        },

        success:function(msg){
            $('#notice').html( msg)
            refresh(3)
        }
    };
   //prepare form
    $('#savetext').ajaxForm(options);

刚刚意识到使用beforeSerialise:而不是beforeSubmit:会起作用

你能得到其他非文本区域的元素的值吗?我能得到它们,并能用alert(tinyMCE.activeEditor.getContent())提醒文本区域的内容谢谢!我花了至少一个小时试图完成这项工作,结果是:
var form_options={target:'result',beforeSerialize:showformSerialize,beforeSubmit:showformRequest,success:showformResponse,键入:'post'};函数showformSerialize(){tinyMCE.triggerSave(false,true);}