how to check if page is loaded in javascript

Solutions on MaxInterview for how to check if page is loaded in javascript by the best coders in the world

showing results for - "how to check if page is loaded in javascript"
Alexy
07 Feb 2016
1<body onload="onload()">
2	<div>
3  		<p>TEXT</p>
4  	</div>  
5</body>
6
7<script>
8  function onload(){
9	console.log("Window Has Been Loaded!")
10}
11</script>
similar questions