更新时间:2023-02-20 14:51:49
您的父页面上可能有类似的内容:
You probably have something like this on your parent page:
window.open(...);
如果将其更改为:
var popup = window.open(...);
然后您随时可以通过编码将其关闭:
then at any time you can close it by coding:
popup.close();
http://jsfiddle.net/pimvdb/bjkNx/1/
如何禁用GTK中的关闭按钮?
如何以编程方式关闭Ionic 3中的FAB按钮列表?
android-如何防止弹出窗口被窗口单击关闭?
从弹出窗口提交父窗口中的表单?
如何关闭父窗口中的弹出窗口?
如何以编程方式关闭MFC中的当前视图
如何知道何时在JavaScript中关闭弹出窗口
如何解除平台恢复中的所有弹出窗口?
如何关闭浏览器窗口中的当前选项卡?
如何关闭asp.net中的当前选项卡?