【发布时间】:2013-04-16 04:11:27
【问题描述】:
这个错误在 IE10/11 中是什么意思:
Error: Could not complete the operation due to error 800a025e.
我将如何调试它?
上面写着这一行:
this.nativeSelection.removeAllRanges();
https://code.google.com/p/rangy/source/browse/trunk/src/js/core/wrappedselection.js#416
在此处查看实际操作:http://panmedia.github.io/raptor-editor/tests/cases/selection/selection-expand.html
【问题讨论】:
-
举个例子会有所帮助。
-
我在 IE9 中调用
removeAllRanges()时也遇到了完全相同的错误,但偶尔会出现。 @TimDown 我正在考虑使用您的 rangy 库来查看错误是否消失...但首先我想我会尝试 stackoverflow.com/a/3171348/227299 -
你能提供一个jsfiddle吗?
标签: javascript internet-explorer internet-explorer-10 internet-explorer-11 rangy