Answers for "if page is loaded javascript"


wait for page load js

window.addEventListener('load', function () {

//THE OTHER ANSWER IS WRONG (has a syntax error)
Posted by: Guest on November-07-2020

how to check if page is loaded in javascript

<body onload="onload()">

  function onload(){
	console.log("Window Has Been Loaded!")
Posted by: Guest on April-13-2021

Code answers related to "if page is loaded javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language