兼容Firefox/Opera/Safari/IE的处理方式,原文链接

var oFrm = document.getElementById('ifrm');
oFrm.onload = oFrm.onreadystatechange = function() {
     if (this.readyState && this.readyState != 'complete') return;
     else {
         onComplete();
     }
}

 

相关文章:

  • 2022-12-23
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-24
  • 2021-12-08
  • 2021-11-27
  • 2021-06-17
猜你喜欢
  • 2021-10-18
  • 2021-09-17
  • 2022-12-23
  • 2021-09-12
  • 2021-09-19
  • 2022-02-21
相关资源
相似解决方案