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