Hide mobile safari keyboard when form submitted in Ajax application
-
01-10-2019 - |
문제
I have a textfield which fires an event in a web app, but I'd like the keyboard to close when the user presses enter. Using jquery to disable usual submission.
해결책
Create blur event
To open:
$('input#search').focus();
To close:
$('input#search').blur();
제휴하지 않습니다 StackOverflow