onunload ,onbeforeunload都是在刷新或关闭时调用,可以在<script> ... //JS document window.onunload = function(){ alert("unload is work"); } ...
確定! 回上一頁