捕获关闭窗口的脚本


<html>
<body>
<script>
function LeaveWin(){
event.returnValue="call,确定要关闭吗";
}
window.onbeforeunload=LeaveWin;
</script>
</body>
</html>
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3