先前在用Java Script寫防呆程式時,submit出去後卻出現如下的錯誤訊息:
 uncaught exception: [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location: "http://192.168.100.11/across/set_area2.jsp?countryid=36&country=01 Line: 16"]

查了一下網路,沒有看到合理的答案,因為有這樣的問題還蠻多的。

後來再仔細看了一下錯誤訊息以及Html tag。

發現是因為form name背設定為location,與Java Script的location.href有衝突!!!

修正後,就OK了~:)
arrow
arrow
    全站熱搜

    WaitingBar 發表在 痞客邦 留言(0) 人氣()