(http://www.php100.com/html/program/jquery/2013/0905/6052.html)
$(window).bind('beforeunload',function(){ return '确定离开此页面吗?'; });
(http://www.php100.com/html/program/jquery/2013/0905/6052.html)
$(window).bind('beforeunload',function(){ return '确定离开此页面吗?'; });
转载于:https://www.cnblogs.com/langdangyunliu/p/4282376.html