htm里添加
<body>
<div>...</div>
.....
.....
<div class="div_a_1001" >
<input type="button" class="settp_ass" onclick="javascript:parent.window.close();" value="关 闭" />
</div>
<iframe id="checkPage" name="checkPage" src="check.htm" width="0" height="0" frameborder="0"></iframe>
</body>
没有添加 <iframe> 的htm页面在手机上,点关闭按钮页面是可以关闭的!自从添加了它就关闭不了了!现在要怎么才能关闭页面!
<div>...</div>
.....
.....
<div class="div_a_1001" >
<input type="button" class="settp_ass" onclick="javascript:parent.window.close();" value="关 闭" />
</div>
<iframe id="checkPage" name="checkPage" src="check.htm" width="0" height="0" frameborder="0"></iframe>
</body>
没有添加 <iframe> 的htm页面在手机上,点关闭按钮页面是可以关闭的!自从添加了它就关闭不了了!现在要怎么才能关闭页面!
...全文
相关推荐
JS 使用 window对象的print方法实现分页打印功能
这里需要注意的是,在调用`print()`方法之前,必须调用`document.close()`方法,这是因为如果在未关闭文档之前调用打印,可能导致打印内容不完整。
window.returnValue使用方法示例介绍
= false; } else { window.returnValue = true; } window.close(); } </script> </HEAD> <BODY> <INPUT id=
如何在父窗口中得知window.open()出的子窗口关闭事件
("child.htm","","toolbar=no, location=no, directories=no, status=no, menubar=no");timer=window.setInterval
实现浏览器全屏窗口的几种方法
**示例代码**: ```javascript function omiga_window() { window.open("12.htm", "", "fullscreen=1, menubar=0,
Javascript之BOM(window对象)详解
frame src="anotherframe.htm" name="leftFrame"> <frame src="yetanotherframe.htm" name="rightFrame"> </


