开发者

Hide mobile safari keyboard when form submitted in Ajax application

I have a textfield which fires an event in a web app, but I'd like the keyboard to close whe开发者_如何学Pythonn the user presses enter. Using jquery to disable usual submission.


Create blur event

To open:

$('input#search').focus();

To close:

$('input#search').blur();
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜