'onReadyStateChange' Example : onReadyStateChange : Event onMethod JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Event onMethod » onReadyStateChange »

 

'onReadyStateChange' Example



    
<html>
<head>
<script language="JavaScript">
  document.onreadystatechange=function1;
  function function1 () {
      if (document.readyState=="complete") {
         alert('The document ready state is "complete"') 
      }

</script>
</head>
<body>
<p>Body content</p>
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Event onMethod
» onReadyStateChange