捕获关闭窗口的脚本
摘要:functionLeaveWin(){event.returnValue="call,确定要关闭吗";}window.onbeforeunl...
<html>
<body>
<script>
function LeaveWin(){
event.returnValue="call,确定要关闭吗";
}
window.onbeforeunload=LeaveWin;
</script>
</body>
</html>
【捕获关闭窗口的脚本】相关文章:
上一篇:
javascript 自动转到命名锚记