Answers for "how to execute a javascript function when the page loads"

0

execute javascript function when page loads

window.onload = function() {
  yourFunction(param1, param2);
};
Posted by: Guest on May-25-2021

Code answers related to "how to execute a javascript function when the page loads"

Code answers related to "Javascript"

Browse Popular Code Answers by Language