input field focus html code example
Example 1: html input autofocus
Example 2: focus on input
document.getElementById("myText").focus();
Example 3: focus on input
$("input:text:visible:first").focus();
document.getElementById("myText").focus();
$("input:text:visible:first").focus();