The javascript page loads the execution event code

  • 2020-03-30 01:41:26
  • OfStack


<script type="text/javascript" language="JavaScript">   

             //: judge if the page is loaded & NBSP;  
              document.onreadystatechange = function () {   
                 if(document.readyState=="complete") {          
                      alert('ok');
                  }   
              }   

          </script>

Related articles: