出现该错误提示,主要有两种原因:
- 使用系统的事件名称作为自定义函数名如: onclick / onsubmit ... 都是系统保留的事件名称,不允许作为重定义函数名称。
- 出现死循环 : 如:在图片对象定义了 onerror 事件的循环处理
这里并不是说 1.gif 不存在, 可能是由于网络阻塞原因造成, 这时会执行 onerror 事件,
调用 /images/default.gif 去做当前图片的路径, 但如果当前 /image/default.gif 这个图片文件不存在,
再或者由于网络原因, 下载'/image/default.gif' 又出现错误, 这就出现了死循环。
解决方法
- You can turn off the "Disable Script Debugging" option inside of Internet Explorer and start debugging with Visual Studio if you happen to have that around.
- 找到无法显示图片的地方,上传图片

