không lỗi này có ý nghĩa gì trong IE10/11:Không thể hoàn thành hoạt động do lỗi 800a025e
Error: Could not complete the operation due to error 800a025e.
Và làm thế nào tôi sẽ gỡ lỗi nó?
Nó nói nó dòng này:
this.nativeSelection.removeAllRanges();
https://code.google.com/p/rangy/source/browse/trunk/src/js/core/wrappedselection.js#416
Nhìn thấy nó trong hành động ở đây: http://panmedia.github.io/raptor-editor/tests/cases/selection/selection-expand.html
http://stackoverflow.com/questions/3169786/clear-text-selection-with-javascript – Ian
Ví dụ sẽ hữu ích. –
Tôi cũng gặp lỗi chính xác khi gọi 'removeAllRanges()' trong IE9, mặc dù không thường xuyên. @TimDown Tôi đang nghĩ đến việc sử dụng thư viện của bạn để xem liệu lỗi có biến mất hay không ... nhưng trước tiên tôi nghĩ tôi sẽ thử http://stackoverflow.com/a/3171348/227299 –