only when the window is opened by then script.window.opener=null
window.close();//for ie5.5+
window.close();//for ie5.5+
解决方案 »
- 关于一个求某数N次方的运算
- 请问淘宝商城左边的商品分类功能如何实现。谢谢
- JavaScript 技术发展前景
- javascript引用xslt中的变量,怎么去引用啊,求救啦
- 特急,在线等,想做一个下压式的整屏广告,然后自动关闭,像新浪那样的
- 在表格中,每一行都有一个hidden ,hidden 名规律,请问如何,点击某一行时,显示相对应hidden的值?
- frame的document问题?急!(在这个论坛里第一次出现的问题,请教!)
- 如何控制history.go(-1)在返回到上一个页面的时候的刷新情况??
- 关于ASP的问题。急!
- angularjs Error: [ng:areq] Argument 'PhoneListCtrl' is not a function, got undef
- 如何在一个界面上分页现实两个表单???
- 文件路径问题,高手请进
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>CloseWindow</title>
</head>
<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT>
<body>
<script>document.all.WebBrowser.ExecWB(45,1)</script>
</body>
</html>