Javascript 使用JQuery.select()调用方法或属性时出现意外错误
我使用CLEditor作为RTE,它工作得非常完美,除了在IE 8中,产生的错误是: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 它所
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中没有发现错误。