Answers for "how to make page load in javascript"

1

javascript load page

window.location = "https://example.com/";
Posted by: Guest on May-20-2020
0

run on load js

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

html tag run only after whole page is loaded

<body onload="script();">
<!-- will call the function script when the body is load -->
Posted by: Guest on September-11-2020

Code answers related to "how to make page load in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language