1、IE8及以下版本不支持onload事件,但支持onreadystatechange事件;
( readyState是onreadystatechange事件的一个状态,值为loaded或complete的时候,表示已经加载完毕 )