<script language="javascript">
g_blnCheckUnload = true;
function RunOnBeforeUnload() {
if (g_blnCheckUnload) {window.event.returnValue = 'You will lose any unsaved content';
}
}
</script>
<body onbeforeunload="RunOnBeforeUnload()">
</body>
posted on 2006-05-15 09:27
java小记 阅读(251)
评论(0) 编辑 收藏 所属分类:
转载