Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/76.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 使用JQuery.select()调用方法或属性时出现意外错误_Javascript_Jquery_Internet Explorer_Cleditor - Fatal编程技术网

Javascript 使用JQuery.select()调用方法或属性时出现意外错误

Javascript 使用JQuery.select()调用方法或属性时出现意外错误,javascript,jquery,internet-explorer,cleditor,Javascript,Jquery,Internet Explorer,Cleditor,我使用CLEditor作为RTE,它工作得非常完美,除了在IE 8中,产生的错误是: SCRIPT65535: Unexpected call to method or property access. jquery.cleditor.js, line 1027 character 7 SCRIPT65535: Unexpected call to method or property access. jquery.cleditor.js, line 1027 character 7 它所

我使用CLEditor作为RTE,它工作得非常完美,除了在IE 8中,产生的错误是:

SCRIPT65535: Unexpected call to method or property access.
jquery.cleditor.js, line 1027 character 7
SCRIPT65535: Unexpected call to method or property access. 
jquery.cleditor.js, line 1027 character 7 
它所引用的行是行编辑器。范围[0]。选择;在以下功能中:

function restoreRange(editor) {
    if (ie && editor.range)
        editor.range[0].select();
}

我已经找遍了类似的问题,但没有一个有这样的背景。非常感谢您的帮助。

我的职位太低,无法发表评论,所以我会在回答栏中提出建议。。。 你能把你的一些文件寄出去吗?每当我在IE中看到一个奇怪的错误,比如这样的错误,我就会检查html文档是否指定了doctype


问题可能是IE8在怪癖模式下运行吗?

您的配置是什么?去插件网站,我在IE8中没有发现错误。