js onload处理html页面加载之后的事件

复制代码 代码如下:

  <script type="text/javascript">

  window.onload=function(){

  alert("加载完毕")

  }

  </script>