admin管理员组文章数量:1355535
I´ve got a form with an input field and a submit button. Nothing fancy here...
On the iPhone (iPhone 4S, iOS 5.1) i use the virtual keyboard to fill the input field and when i click/tap on the Go Button of the keyboard the form is submitted. But the virtual keyboard don´t hide after the submit.
If i use the submit button of the form the keyboard disappear. This problem exist only when i click the Go Button of the keyboard
Are there any javascript events i should check? Or do you have a hint for me?
Btw: In other forms with the same structure this problem do not exist.
Thanks in Advance
I´ve got a form with an input field and a submit button. Nothing fancy here...
On the iPhone (iPhone 4S, iOS 5.1) i use the virtual keyboard to fill the input field and when i click/tap on the Go Button of the keyboard the form is submitted. But the virtual keyboard don´t hide after the submit.
If i use the submit button of the form the keyboard disappear. This problem exist only when i click the Go Button of the keyboard
Are there any javascript events i should check? Or do you have a hint for me?
Btw: In other forms with the same structure this problem do not exist.
Thanks in Advance
Share Improve this question asked May 3, 2012 at 8:18 MikaMika 1,53915 silver badges22 bronze badges1 Answer
Reset to default 11Use this code in click event to dismiss virtual keyboard
document.activeElement.blur();
版权声明:本文标题:javascript - Iphone: Virtual keyboard don´t hide after tapingclicking on "Go" Button - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744034101a2579447.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论