I have a case where I have users that can enter text in a field for a mobile web site.
They then need to press a button to send the message but they have to press it twice, once to close the keyboard and the second to send the message.
The sending is taking place via JQuery Ajax fired from an event handler. I have preventDefault on if that matters.
Is there a way around this?
Remove the focus from the input on button click to hide the software keyboard: