//在其中一个frame里操作主窗口
var ff=window.parent.window.document.getElementsByTagName("frameset");

var colsValue=ff['menuframe'].getAttribute('cols');

//获得iframe对象
var ff=document.getElementById('iframeOne');
//获得iframe上的document对象
  ff.contentWindow.document.getElementById('oneElement');

相关文章:

  • 2022-12-23
  • 2022-01-22
  • 2022-12-23
  • 2021-07-26
  • 2021-08-08
  • 2021-05-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
相关资源
相似解决方案