<BODY onbeforeunload="checkclose()">

<SCRIPT>
function checkclose(){
event.returnValue = "测试啊" //XXX可以改为任何文本信息也可以是空
}
</SCRIPT>

<a href="/a.asp">aa</a>

相关文章:

猜你喜欢
相关资源
相似解决方案