父页面中

<input type="hidden" >  

<iframe align="center" style="width: 100%; height: 100%;" frameborder="0" scrolling="no" src="Html//test.jsp"></iframe> 

<iframe ></iframe>

 

test.jsp中获取父页面中元素的方法

parent.document.getElementById("areaID").value=row.ID;

test.jsp中获取父页面中iframe元素的方法
var child = parent.document.getElementById("ifra2").contentWindow;//ifra2这个id是父页面iframe的id
child.initRealTimeGrid("bb");//调用ifra2中页面中的方法;
 

相关文章:

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