judge the readiness of the whole web page

来源:互联网 发布:查看网络是否稳定 编辑:程序博客网 时间:2024/04/24 07:08

FOR IE

 

if(document.readyState=="complete")          
  { alert('complete'); }

 

FOR Fire Fox

 

window.content.document.addEventListener('DOMContentLoaded',functiontocall,false);

原创粉丝点击