focus w3school code example
Example: focus js
focusMethod = function getFocus() {
document.getElementById("myTextField").focus();
}
focusMethod = function getFocus() {
document.getElementById("myTextField").focus();
}