压根没进方法 直接报空了··目测是没有运行到sync()这个方法··脑乱··

解决方案 »

  1.   

    使用浏览器F12调试过了吗? 看了 POST 的数据报文了吗
      

  2.   

    使用浏览器F12调试过了吗? 看了 POST 的数据报文了吗弹窗窗口的 调试不了··
      

  3.   

    <script type="text/javascript" language="javascript">
        var keditor;
        function kedit(keid) {
            keditor = KindEditor.create(
    '#' + keid,
    {
        cssPath: '@Url.Content("~/kindeditor4x/plugins/code/prettify.css")',
        imageUploadJson: '@Url.Content("~/kindeditor4x/asp.net/upload_json.ashx")',
        fileManagerJson: '@Url.Content("~/kindeditor4x/asp.net/upload_json.ashx")',
        allowFileManager: true,    afterCreate: function () {
            var self = this;
            KindEditor.ctrl(document, 13, function () {
                this.sync();
    //                        document.forms['form1'].submit(); 
            });
            KindEditor.ctrl(self.edit.doc, 13, function () {
                this.sync();
    //                        document.forms['form1'].submit(); 
            });    },
    afterBlur: function () {
        this.sync();
    }});
    }
    $(document).ready(function () { kedit("contentid"); });</script>