刷新或关闭浏览器事件方法1:window.onunload=function() {alert('刷新或关闭浏览器')}方法2: window.attachEvent('onunload',function(){alert('刷新或关闭浏览器');});方法3: <body onload="" onunload="">使用方法1在IE中关闭浏览器不会触发时间,解决办法使用方法2 Read More
posted @ 2010-04-29 16:41 GeliBear Views(563) Comments(0) Diggs(0)