A.html

<html>
<head>
<script type="text/javascript">
alert("refresh");
</script>
</head>
<body>
<a onclick="javascript:window.open('b.html');">OpenNewWindow</a> 
<body>
</html>

B.html

<html>
<head>
</head>
<body onUnload="javascript:opener.location.href='a.html';"> 
<a onclick="javascript:window.close(this)">[CloseWindow]</a> 
</body> 
</html>

  

相关文章:

  • 2021-09-23
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
  • 2022-12-23
  • 2021-11-02
猜你喜欢
  • 2021-12-27
  • 2022-01-27
  • 2022-12-23
  • 2021-06-23
相关资源
相似解决方案