<span style="font-family: Arial, Helvetica, sans-serif;"><html xmlns="http://www.w3.org/1999/xhtml"></span>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>onbeforeunload测试</title>
<script>
function checkLeave(){
event.returnValue="确定离开当前页面吗?";
}
</script>
</head>
<body οnbefοreunlοad="checkLeave()">
</body>
</html>