日期:2014-05-16 浏览次数:20394 次
<html>
<head>
<script type="text/javascript">
function closeWindow()
{
window.opener = null;
window.open(' ', '_self', ' ');
window.close();
}
</script>
</head>
<body>
<input type='button' value='关闭窗口' onClick="closeWindow()">
</body>
</html>
<script language="javaScript">
function closeWindow()
{
window.opener = null;
window.open('', '_top', '');
window.parent.close();
}
</script>