这个不痛不痒的alert终于解决:
错误: [Exception... "'¾n^' XULElement.selectedIndex öCP
³' when calling method: [nsIAutoCompletePopup::selectedIndex]" nsresult: "0x8057001e (_XPC_JS_THREW_NS_ERRORSTRING)" location: "JS frame :: http://127.0.0.1/1/?controller=Login&action=logout :: onmouseover :: line 1" data: no]
源文件:http://127.0.0.1/1/?controller=Login&action=logout
行:1
代码:
<input name="card_id" type="text" size="13" maxlength="10"
onMouseOver="this.focus();this.select();" autocomplete="off" />
自从加了onMouseOver="this.focus();this.select();" 这句后就一直出现这个错误,原来是自动填充出了问题,加了autocomplete="off" 这个后正常。奇怪的是,密码框没有这个问题......