focus on input
document.getElementById("myText").focus();
4.4
6
<input type="text"
onfocus="myFunction()">
Thank you!
6
0
3
1
$("input:text:visible:first").focus();
Thank you!
1
0
Are there any code examples left?
New code examples in category Javascript