.NET页面10妙刷新一次怎么实现
解决方案 »
- IIS发布webservice,远程访问的问题
- 正则匹配网站内容问题
- HttpWRequest发送数据是否有大小限制?
- 急!!!03系统中安装SharePoint Services 2.0时 提示需要安装 Framework v1.1.4322
- MYSql使用UDF错误: Error 1126 Can't open shared librar "MyUDF.Dll"
- SQL数据库的问题
- webservice 的调用问题(高手请入)
- 删除不了记录:(帮帮我吧
- 请大家帮我看看这段访问MySql的程序,为什么出错
- 看了半天还是不知道哪里错了,HELP!
- 图片连续滚动,为什么我这个就不滚动呢?求救!!!!!!!
- 有关asp.net MVC 框架 的权限问题
<!-- 定时刷新页面10秒一次-->
<meta http-equiv="Refresh" content="60">
function Out_time()
{
setInterval("刷新所需执行方法",10000);//第二个参数单位是毫秒
}
</script>
<body onload="Out_time()">
居然又开新帖?
2.使用JavaScript实现,<script>setTimeout("location.href='url'",10000)</script>
刷新本页:Response.Write("<script>window.location.href=window.location.href;</script>")
刷新父页:Response.Write("<script>opener.location.href=opener.location.href;</script>")
转到指定页:Response.Write("<script>window.location.href='yourpage.aspx';</script>")
3.使用Ajax的Timer实现定时刷新