Answers for "run a function on page load js"

0

execute javascript function when page loads

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

run on load js

function codeAddress() {
            alert('ok');
        }
window.onload = codeAddress;
Posted by: Guest on June-03-2020

Code answers related to "run a function on page load js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language