日期:2014-05-17  浏览次数:20451 次

kindeditor编辑器JS报错求解
HTML code

 <script src="Admin/newsManage/editor/kindeditor.js"  charset="utf-8"></script>
    <script src="Admin/newsManage/editor/lang/zh_CN.js"  charset="utf-8"></script>
    <script type="text/javascript" >
        var editorContent;
        KindEditor.ready(function(K) {
        editorContent = K.create('#issue',{
        uploadJson: 'Admin/newsManage/editor/asp.net/upload_json.ashx',
        fileManagerJson: 'Admin/newsManage/editor/asp.net/file_manager_json.ashx',
                allowFileManager: true
            });
        });

<textarea class="r_textAreaClass"  id="issue" runat="server" style="width:70%;height:300px;"></textarea>
    </script>

报错显示是0.style为空或不是对象.插件的路径没问题.这个是在内容页使用的.

------解决方案--------------------
runat="server" 你懂得