一、js实现关闭当前子窗口,刷新父窗口

 

JS代码如下:

<script>
 function refreshParent() {
  window.opener.location.href = window.opener.location.href;
  window.close();  
 }              
</script>

 

html页面代码如下:

<input type="button"  />

 

二、JS子窗口与父窗口之间的调用

地址:http://azrael6619.iteye.com/blog/486079

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2021-10-04
猜你喜欢
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-14
相关资源
相似解决方案