1.对于iframe(iframeMain是iframe的ID)
document.all.iframeMain.src="http://www.bokee.com/";                     //显示iframe中最后一次刷新得到的内容
document.all.iframeMain.contentWindow.location="http://www.bokee.com/";  //重新刷新iframe的内容

2.对于frame:(window.parent.document代表frame元素所在的网页对象,fraRight是frame的ID)
window.parent.document.getElementById("fraRight").contentWindow.location = node.Target;   //显示frame中最后一次刷新得到的内容
window.parent.document.getElementById("fraRight").contentWindow.location = node.Target;   //重新刷新frame的内容

相关文章:

  • 2022-12-23
  • 2021-11-20
  • 2022-01-22
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-05-11
  • 2021-05-29
猜你喜欢
  • 2022-03-01
  • 2021-12-18
  • 2021-09-08
  • 2022-12-23
  • 2022-02-28
  • 2021-05-17
相关资源
相似解决方案