function doRefresh(){
 frmRefresh.location="watch.asp";
 setTimeout("doRefresh()",60000)}

解决方案 »

  1.   

    你的那个没有错误,错误有可能在你的watch.asp中
      

  2.   

    watch.asp原碼如下:<!--#include file="connstr.asp"-->
    <% 
        username=session("username")
        if username<>"" then    
        
        sql="select toname,isread,adddate from talks where toname='"& username &"'and isread=0 order by adddate"
        set rs=conn.execute(sql)
        if not rs.eof then
        response.write "<script>window.open('showmessage.asp','','width=580,height=400,scrollbars=yes')</script>"
        end if
        rs.close
        set rs=nothing
        conn.close
        set conn=nothing
        
        end if%>
      

  3.   

    function doRefresh(){
     document.frmRefresh.location="watch.asp";
     setInterval("doRefresh()",60000)
    }用 setInterval
      

  4.   

    上面那個<iframe>不用了嗎??