admin管理员组文章数量:1287554
In ExtJs there is an "focus" event listener for Ext.form.Text
(alias - textfield), it forks just fine. But i actually nead to catch "lost focus" event for textfield.
Is there a event listner in ExtJs or JavaScript, that will help me to handle "lost focus" event?
In ExtJs there is an "focus" event listener for Ext.form.Text
(alias - textfield), it forks just fine. But i actually nead to catch "lost focus" event for textfield.
Is there a event listner in ExtJs or JavaScript, that will help me to handle "lost focus" event?
Share Improve this question asked Apr 1, 2011 at 8:38 obenjiroobenjiro 3,7607 gold badges49 silver badges82 bronze badges2 Answers
Reset to default 10The event you're looking for is blur.
focus and blur are not fired at the same time.... don't forget that when you give focus to a radio, you also loose focus(blur) by another radio, then the two events fired are a focus event for the radio you are selecting a blur event for the radio you are deselecting. that's the trick!!
本文标签: javascriptExtJs 3 or 4LostFocus eventStack Overflow
版权声明:本文标题:javascript - ExtJs 3 or 4 - LostFocus event - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741312246a2371712.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论