摘要: functionAddComfirmClose() { window.parent.document.body.onbeforeunload =function() { window.parent.event.returnValue ="提示?:o你?还1没?有D保存?页3面?。"; } }function UnComfirmClose() {window.parent.document.body.onbeforeunload =null;}<inputid="saveflag" onclick="AddComfirmClose()&qu 阅读全文
posted @ 2012-06-05 16:29 肚肚 阅读(352) 评论(0) 推荐(0) 编辑