Answers for "how to set autofocus on input"

1

set autofocus javascript

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language