Answers for "check if page is completely loaded javascript"

1

how to check if page is loaded in javascript

<body onload="onload()">
	<div>
  		<p>TEXT</p>
  	</div>  
</body>

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

Code answers related to "check if page is completely loaded javascript"

Browse Popular Code Answers by Language