document.onreadystatechange=function(){
if(document.readystate=='complete'){
// 加载完成执行操作;;
}
}
document.onreadystatechange=function(){
if(document.readystate=='complete'){
// 加载完成执行操作;;
}
}
转载于:https://www.cnblogs.com/earnest/p/8098856.html