退出系统的JS代码
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
<script language ="javascript">
function aa()
{
window.opener = null;
window.open('', '_self'); //关键的一步
window.parent.parent.close();
}
</script>
</head>
<body onload="aa()">
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
<head runat="server">
<title>无标题页</title>
<script language ="javascript">
function aa()
{
window.opener = null;
window.open('', '_self'); //关键的一步
window.parent.parent.close();
}
</script>
</head>
<body onload="aa()">
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>