Does anyone know how to hide iPhone's keyboard in Safari after user touch button "Go" instead of "Done"?
I need solution for Javascript and HTML5.
Does anyone know how to hide iPhone's keyboard in Safari after user touch button "Go" instead of "Done"?
I need solution for Javascript and HTML5.
With jQuery
You should unfocus the input from the button you click,
$("#button_id_clicked").click(function() {
$("#search_input_id").blur(); // UNFOCUS THE INPUT
});
I use it on my web app