读书人

自动刷新页面的兑现方法总结

发布时间: 2012-11-14 10:12:19 作者: rapoo

自动刷新页面的实现方法总结
1)?


说明:?
n is the number of seconds to wait before loading the specified URL.?
url is an absolute URL to be loaded.?
n,是等待的时间,以秒为单位?
url是要刷新的页面URL地址?

10代表刷新间隔,单位为秒?

2.jsp?
其中20指隔20秒后跳转到http://自己的URL 页面。?


点击按钮提交表单后刷新上级窗口?

A窗口打开B窗口?

然后在B里面提交数据至C窗口?

最后要刷新A窗口?

并且关闭B窗口?

几个javascript函数?

//第一个自动关闭窗口?
<script language="javascript"> function show(mylink,mytitle,width,height) {mailwin=window.open(mylink,mytitle,'top=350,left=460,width='+width+',height='+height+',scrollbars=no')} </script>

读书人网 >Web前端

热点推荐