首页 > 其他 > 详细

使用kindeditor时,取不到值

时间:2016-06-16 09:23:00      阅读:244      评论:0      收藏:0      [点我收藏+]
  KindEditor.ready(function (K) {
            var editor1 = K.create(#txtContent, {
                cssPath: /kindeditor/plugins/code/prettify.css,
                uploadJson: /kindeditor/asp.net/upload_json.ashx,
                fileManagerJson: /kindeditor/asp.net/file_manager_json.ashx,
                allowPreviewEmoticons: false,
                filterMode: true,
                allowImageUpload: true,
                afterBlur: function () {
                    this.sync();
                    K.ctrl(document, 13, function () {
                        K(form[name=myform])[0].submit();
                    });
                    K.ctrl(this.edit.doc, 13, function () {
                        K(form[name=myform])[0].submit();
                    });
                },
                items: [
                        source, |, fontname, fontsize, |, forecolor, hilitecolor, bold, italic, underline,
                        removeformat, |, justifyleft, justifycenter, justifyright, insertorderedlist,
                        insertunorderedlist, |, emoticons, image, multiimage, media, about]
            });
            prettyPrint();
        });
 afterBlur: function () {
                    this.sync();
                    K.ctrl(document, 13, function () {
                        K(form[name=myform])[0].submit();
                    });
                    K.ctrl(this.edit.doc, 13, function () {
                        K(form[name=myform])[0].submit();
                    });
                },

http://zzs223224.blog.163.com/blog/static/1789655220142231154912/

使用kindeditor时,取不到值

原文:http://www.cnblogs.com/mchuang/p/5589809.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!