close
http://blogs.microsoft.co.il/tamirs/2009/03/16/pageload-event-fires-twice/
http://stackoverflow.com/questions/2009092/page-loads-twice-in-google-chrome
http://www.cnblogs.com/yjmyzz/archive/2009/06/11/1501654.html
So, notice that all of your page images will have their src filled
结论:img标签的src=""时,会引起浏览器再次访问"./"即当前目录,如果该目录下有default.aspx,index.aspx等IIS的默认文档,则默认文档会执行2次
全站熱搜