当一个页面全部加载完才触发的事件

来源:互联网 发布:it技术支持工程师 编辑:程序博客网 时间:2024/06/05 18:30
ie: document.onreadystatechange=function(){document.readyState=="complete"}
FF: document.addEventListener("DOMContentLoaded",handle,false)