I'm attempting to hide the iPad soft keyboard when the user clicks outside a text field.
Specifically somewhere on the form or body that contains no other elements.
Using jquery, jquery mobile, and html5.
document.activeElement.blur();
using mattwindwer's solution (but with more details):
$(document).click(function() {
document.activeElement.blur();
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With