Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

execute javascript function when page loads

window.onload = function() {
  yourFunction(param1, param2);
};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #execute #javascript #function #page #loads
ADD COMMENT
Topic
Name
7+2 =