[英]Event to Lose focus of a TextBox - Javascript
I need to remove focus from a textbox. 我需要从文本框中删除焦点。 if i need to set focus for a textbox we have .focus() method.
如果我需要为文本框设置焦点,我们有.focus()方法。 Similarly is there any other method to remove focus from a textbox using javascript/jquery.
同样,还有其他方法可以使用javascript / jquery从文本框中删除焦点。
Maybe http://api.jquery.com/blur/ ? 也许http://api.jquery.com/blur/ ?
See example: http://jsfiddle.net/LekisS/7xsfx/1/ 参见示例: http : //jsfiddle.net/LekisS/7xsfx/1/
只需将焦点设置在其他位置即可
是的,有DOM-HTML标准模糊() 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.