Hiding the iOS Keyboard
$(document).on("keyup", "input", function(event) {
// If enter is pressed then hide keyboard.
if(event.keyCode == 13) {
$("input").blur();
}
});
Written by Juan Sanchez
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Keyboard
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#