出现该错误提示,主要有两种原因:
  1. 使用系统的事件名称作为自定义函数名如:
  2. onclick / onsubmit ... 都是系统保留的事件名称,不允许作为重定义函数名称。
  3. 出现死循环 :
  4. 如:在图片对象定义了 onerror 事件的循环处理 这里并不是说 1.gif 不存在, 可能是由于网络阻塞原因造成, 这时会执行 onerror 事件, 调用 /images/default.gif 去做当前图片的路径, 但如果当前 /image/default.gif 这个图片文件不存在, 再或者由于网络原因, 下载'/image/default.gif' 又出现错误, 这就出现了死循环。

解决方法

  1. 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.
  2. 找到无法显示图片的地方,上传图片

发表回复

您的 email 地址不会被公开。 必填信息前已经标志为 *

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>