开发者

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 .f开发者_开发知识库ocus() method. Similarly is there any other method to remove focus from a textbox using javascript/jquery.


Maybe http://api.jquery.com/blur/ ?

See example: http://jsfiddle.net/LekisS/7xsfx/1/


Just set the focus somewhere else


Yes, there's the DOM-HTML standard blur().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜