离开页面前调用Js方法

"[url]http://www.w3.org/1999/xhtml[/url]" >
  
   "Content-Type"  content= "text/html; charset=gb2312"  />
  onbeforeunload测试
  
  
   "checkLeave()" >
  
  

你可能感兴趣的:(HTML+CSS+JS)