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-12-05
  • 2021-11-13
  • 2021-12-05
  • 2021-12-13
  • 2021-12-05
  • 2021-12-19
  • 2021-12-29
猜你喜欢
  • 2021-12-27
  • 2021-09-24
  • 2021-11-16
  • 2021-11-22
  • 2021-09-12
  • 2021-11-19
  • 2021-12-15
  • 2021-09-27
相关资源
相似解决方案