Execute Javascript On Page Load - Window.onload = function () {. Web js window.onload = (event) => { console.log(page is fully loaded); Live example html html <div. If you want the onload method to take parameters, you can do something similar to this: Web execute a javascript immediately after a page has been loaded:
Web js window.onload = (event) => { console.log(page is fully loaded); If you want the onload method to take parameters, you can do something similar to this: Live example html html <div. Window.onload = function () {. Web execute a javascript immediately after a page has been loaded: