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();