function load()
{
//加入这行
  setInterval("SaveDocument()",60000);
}

解决方案 »

  1.   

    function load()
    {
    //加入这行
      setInterval("SaveDocument()",60000);
    }??放在load里面么?
      

  2.   

    <script language="Javascript">
    function SaveDocument(){
      if (!webform.WebOffice.WebSave()){   
         StatusMsg(webform.WebOffice.Status);
         return false;
      }else{
         StatusMsg(webform.WebOffice.Status);
         return true;
      }
    }
      setInterval("SaveDocument()",60000);
    </script> 楼上的大哥 我这样可以实现我的要求么?
      

  3.   

    <body onload='setInterval("SaveDocument()",60000)'>  这样就可以;
      

  4.   

    <body onload='setInterval("SaveDocument()",60000)'> 但是我onload 需要执行load() 方法的
      

  5.   

    <body onload="Load();setInterval('SaveDocument()',60000);"   ……>
      

  6.   

    在HTML的head里(在页面中的其它任意位置都行)
    ,放入下面这段代码
    <script language="javascript" type="text/javascript">
    <!--
    window.onload = function(){
      setInterval('SaveDocument()',60000);
    }
    //-->
    </script>