Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

set focus on load javascript

function setup() {
  document.getElementById("name1").focus();
}
window.addEventListener('load', setup, false);
 
PREVIOUS NEXT
Tagged: #set #focus #load #javascript
ADD COMMENT
Topic
Name
4+4 =