Answers for "how to get autofocus on input field in javascript"

1

set autofocus javascript

window.onload = function() {
  document.getElementById("input1").focus();
}
Posted by: Guest on June-28-2021

Code answers related to "how to get autofocus on input field in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language