header image 2

Java Script Security error

4 6 月, 2008 · No Comments

先前在用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了~:)

Tags: 技術通報

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment