html和php关闭当前页面窗口
html和php关闭当前页面窗口
<button onclick="javascript:window.opener=null;window.open('','_self');window.close();" type="button">
<a href="javascript:window.opener=null;window.open('','_self');window.close();">关闭</a>
<?php
echo '<script>window.close();</script>';
?> 本文属原创,转载请注明原文:https://www.zhimatong.com/jiaocheng/269.html
为保证教程的实用性及扩大知识面覆盖,如果您有相似问题而未解决,可联系在线客服免费技术支持。
内容有用



交流群
购物车