代码如下:

View Code
1 例如:
2 Iframe连接到treeViewTest.aspx页面
3 <Iframe src="treeViewTest.aspx" name="treeframe" width="150px" height="260px" scrolling="no" frameborder="0"></iframe>
4 获得treeViewTest.aspx页面的对象:
5 document.frames["iframe的name"].document.getElementById("iFrame中对象id")

 

相关文章:

  • 2022-12-23
  • 2021-12-19
  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
  • 2021-10-03
  • 2021-11-01
猜你喜欢
  • 2022-12-23
  • 2021-11-28
  • 2021-11-28
  • 2022-12-23
  • 2021-07-15
  • 2022-12-23
相关资源
相似解决方案