捕获事件onclose浏览器 [英] Capture event onclose browser
本文介绍了捕获事件onclose浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
你正在寻找onclose
请参阅: https: //developer.mozilla.org/en/DOM/window.onclose
请注意,并不是所有的浏览器都支持(例如firefox 2)
How I can capture event, close browser window, in jQuery or javascript ?
解决方案
You're looking for the onclose event.
see: https://developer.mozilla.org/en/DOM/window.onclose
note that not all browsers support this (for example firefox 2)
这篇关于捕获事件onclose浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文