keep focus on text input when click a button code example
Example: focus js
focusMethod = function getFocus() {
document.getElementById("myButton").focus();
}
focusMethod = function getFocus() {
document.getElementById("myButton").focus();
}