IE:document.frames("Iframe_ID");

 

FF: document.frames("Iframe_ID") : document.getElementById("ifr_1").contentWindow;

 

IE和FF都兼容的方法:

 

var ifr = document.frames ? document.frames("ifr_1") : document.getElementById("ifr_1").contentWindow;

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-09
猜你喜欢
  • 2021-09-28
  • 2022-02-09
  • 2021-07-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案