Firefox 等是否有相当于 onbeforedeactivate 事件?
这在 IE 中有效
$('#blah').bind('beforedeactivate', fnBlah);
,但我找不到 Firefox 和其他浏览器的等效项
this works in IE
$('#blah').bind('beforedeactivate', fnBlah);
but I can not find equivalent for Firefox and other browsers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
beforedeactivate
是特定于 IE 的事件处理程序。您可以获得的最接近的是focusout
和blur
事件。JQuery 中的用法:
JQuery 实现的链接:
beforedeactivate
is an IE-specific event handler. The closest you can get are thefocusout
andblur
events.Usage in JQuery:
Links to JQuery implementations:
您可以使用
或
在这里找到:http://help.dottoro.com/ljjhfrjd.php
You can use
or
found here: http://help.dottoro.com/ljjhfrjd.php