捕获关闭窗口的脚本_javascript技巧
来源:动视网
责编:小采
时间:2020-11-27 20:42:00
捕获关闭窗口的脚本_javascript技巧
捕获关闭窗口的脚本_javascript技巧: function LeaveWin(){ event.returnValue=call,确定要关闭吗; } window.onbeforeunload=LeaveWin;
导读捕获关闭窗口的脚本_javascript技巧: function LeaveWin(){ event.returnValue=call,确定要关闭吗; } window.onbeforeunload=LeaveWin;

function LeaveWin(){
event.returnValue="call,确定要关闭吗";
}
window.onbeforeunload=LeaveWin;
script>
捕获关闭窗口的脚本_javascript技巧
捕获关闭窗口的脚本_javascript技巧: function LeaveWin(){ event.returnValue=call,确定要关闭吗; } window.onbeforeunload=LeaveWin;