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