偶然发现,在IE 7下,打开本地页面时,居然会出现onload事件发生在ondomready的前面!而在FF下,ondomready一直发生在onload事件以前,诡异的IE,不得不再写两行代码来判断js是不是已经执行过初始化方法了……

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.