你是不是想实现自动刷新啊,  在meta 里设置就可以的

解决方案 »

  1.   

    看看这个例子
    <HTML>
    <BODY>
    <INPUT type=button onclick="computertime()" value="同意 (10 秒后继续)" name=agreeb>
    <SCRIPT language=javascript>
    <!--
    var secs = 10;
    function computertime(num)
    {
    num=secs;
    document.all('agreeb').disabled=true;
    for(i=1;i<=secs;i++) {
     window.setTimeout("update(" + i + ")", i * 1000);
    }
    }
    function update(num) {
     if(num == secs) {
     document.all('agreeb').value =" 同意";
     document.all('agreeb').disabled=false;
     document.all('textfield').value='时间到了!'
     }
    else {
     printnr = secs-num;
     document.all('agreeb').value = "同意 (" + printnr +" 秒后继续)";
     }
    }//-->
    </SCRIPT>
    <input type="text" name="textfield">
    </BODY></HTML>
      

  2.   

    fireEvent Method--------------------------------------------------------------------------------This documentation represents a snapshot taken for a product in the final release phase (release candidate).
    Fires a specified event on the object.SyntaxbFired = object.fireEvent(sEvent [, oEventObject])
    ParameterssEvent Required. String that specifies the name of the event to fire. 
    oEventObject Optional. Object that specifies the event object from which to obtain event object properties. Return ValueBoolean. Returns one of the following values:true Event fired successfully. 
    false Event was cancelled.