when input is focused javascript code example
Example: focus js
focusMethod = function getFocus() {
document.getElementById("myButton").focus();
}
focusMethod = function getFocus() {
document.getElementById("myButton").focus();
}