<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
</head><body><SCRIPT LANGUAGE=javascript>
<!--
function aa(){
alert('OK');
}
window.setInterval("aa()",300000)
//-->
</SCRIPT></body></html>

解决方案 »

  1.   

    这样好象不可以调用服务器端的脚本呢
    我想调用服务器端,PHP里面的函数
      

  2.   

    <html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>新建网页 1</title>
    </head><body>
    <img src="php的url" ><SCRIPT LANGUAGE=javascript>
    <!--
    function aa(){
    window.refresh;
    }
    window.setInterval("aa()",300000)
    //-->
    </SCRIPT></body></html>
      

  3.   

    <META HTTP-EQUIV="Refresh" CONTENT="300000; URL=index.php">
    每个五分钟刷新含有php函数的页面,
      

  4.   

    http://expert.csdn.net/Expert/topic/1501/1501426.xml?temp=.6179773