Answers for "html focus on load"

0

input focus onload

<input id="myinputbox" type="text" autofocus>
Posted by: Guest on July-26-2021
0

set focus on load javascript

function setup() {
  document.getElementById("name1").focus();
}
window.addEventListener('load', setup, false);
Posted by: Guest on May-29-2021

Browse Popular Code Answers by Language