<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<script>
<!--
window.onunload=closeWindow(){
window.opener.location.onunload();
}
-->
</script>
</head>
<body>
</body>
</html>
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<script>
<!--
window.onunload=closeWindow(){
window.opener.location.onunload();
}
-->
</script>
</head>
<body>
</body>
</html>
window.opener.location.onunload();
}
哪有这么写的 window.onunload=function(){
window.opener.location.onunload();
}
或 window.onunload=closeWindow;
window.close();
};