最全的一套ASP教程 onClick="window.opener=null;window.close();" 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 楼上 tacchan(tacchan)的方法不错啊!你可以试一下!我一直也用这种方法,但这种方法只能关闭当前窗口噢!如果你想关闭父窗口,要用FOCUS方法得到父窗口,然后再关闭才可;<html><head><title>test</title><script language="jscript">function closewin(){document.open("test.htm","","fullscreen");window.opener.focus();window.opener=null;window.close();}</script></head><body><input type=button onclick="closewin()" value="关闭上一级窗口"></body></html> JS鼠标经过绑定数据 请问应该如何实现多组图片的连续滚动? jquery 与 setInterval 不是老相识吗??? 一个关于弹出式菜单的问题,急!!! 请教用JavaScript关闭窗口问题 请高手帮我写个特殊提示的JS脚本,在线等;达人乱入。 读文本文件的问题,希望大侠多指点 求一正则:替换掉网址 checkbox与数组,请帮忙。 ======= 请教一个正则,高手请。。。。。 ======== 有谁做过以E-MAIL的方式,自动发送表单资料?求救于各位高手!!! [原]JScript下Singleton模式的实现。
<html><head><title>test</title>
<script language="jscript">
function closewin()
{
document.open("test.htm","","fullscreen");
window.opener.focus();
window.opener=null;
window.close();
}
</script>
</head>
<body>
<input type=button onclick="closewin()" value="关闭上一级窗口">
</body>
</html>