捕捉窗口关闭或内容改变事件
摘要:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html><script>window.onbeforeunload = saveBeforeExit; function saveBeforeExit(){var result=confirm("Navigate away Without saving data?");if (result==true){//alert 阅读全文
posted @ 2011-05-07 18:12 kidy 阅读(325) 评论(0) 推荐(0) 编辑