摘要: //浏览器关闭或刷新事件 function bindCloseBrowser() { var a = "注意!!\n您即将离开页面!离开后可能会导致数据丢失\n\n您确定要离开吗?"; window.onbeforeunload = function (b) { b = b || window.event; b.returnValue = a; ... 阅读全文
posted @ 2016-12-27 14:44 hllive 阅读(2973) 评论(0) 推荐(0) 编辑