如何用程序刷新页面!

大家好,帮帮我!我想实现在一个程序处理一些事情后重新刷新页面,要求不是那种需要使用者按按钮或者链接的刷新,也不是多少秒之后自动刷新的那种。是用程序进行即时刷新!谢谢!
---------------------------------------------------------------

这不是php的事情,请转js版面
---------------------------------------------------------------

是什么程序?是后台程序还是什么?如果是后台程序看看信号这一部分?
---------------------------------------------------------------

服务端不能使客户端引发事件的,还是让客户端在最短周期内自动刷新吧
---------------------------------------------------------------

header('location:本身页');
---------------------------------------------------------------

1<script>   
2alert("恭喜完成!");   
3window.location="http://flash.ggajj.net";   
4</script>

---------------------------------------------------------------

打开的子窗口刷新父窗口的代码
:opener.location.reload(1)
或者
:window.opener.location.reload()
记不清了,试试吧

---------------------------------------------------------------

location.reload();

Published At
Categories with Web编程
Tagged with
comments powered by Disqus