0

使用 MarkItUp 编辑器时出现以下错误,

 uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: /jquery.markitup.js :: get :: line 418"  data: no]

这条线是

 caretPosition = textarea.selectionStart;

我搜索了互联网,但没有发现任何对我有帮助的东西。问题出在 Firefox 3.6 和 4.1 中。

4

0 回答 0