Answers for "call js function on window load"


window load javascript

window.addEventListener('load', (event) => {
  console.log('page is fully loaded');
Posted by: Guest on April-08-2020

execute javascript function when page loads

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

Code answers related to "call js function on window load"

Code answers related to "Javascript"

Browse Popular Code Answers by Language