<script language="javascript" type="text/javascript">
var g_blnCheckUnload = true;
function RunOnBeforeUnload() 
{
    
if(g_blnCheckUnload)
    {
        window.event.returnValue 
= 'You will lose any unsaved content'
    } 

function bypassCheck() 

    g_blnCheckUnload  
= false;
}
onbeforeunload
=RunOnBeforeUnload;
</script>
</head>
<body onbeforeunload="RunOnBeforeUnload()">

相关文章:

  • 2021-12-16
  • 2021-06-10
  • 2022-02-07
  • 2022-03-06
  • 2021-10-11
  • 2022-02-27
  • 2022-12-23
猜你喜欢
  • 2021-09-19
  • 2022-12-23
  • 2022-01-06
  • 2021-10-30
  • 2022-02-06
  • 2021-05-21
  • 2021-09-09
相关资源
相似解决方案