1)<meta http-equiv="refresh"content="10;url=跳轉的頁面">10表示間隔10秒重新整理一次 2)<script language=''javascript''>window.location.reload(true);</script>如果是你要重新整理某一個iframe就把window給換成frame的名字或ID號 3)<script language=''javascript''>window.navigate("本頁面url");</script> 4>function abc(){window.location.href="/blog/window.location.href";setTimeout("abc()",10000);}重新整理本頁:Response.Write("<script language=javascript>window.location.href=window.location.href;</script>")重新整理父頁:Response.Write("<script language=javascript>opener.location.href=opener.location.href;</script>")轉到指定頁:Response.Write("<script language=javascript>window.location.href='yourpage.aspx';</script>")
Javascript重新整理頁面的幾種方法:
1 history.go(0)
2 location.reload()
3 location=location
4 location.assign(location)
5 document.execCommand('Refresh')
6 window.navigate(location)
7 location.replace(location)
8 document.URL=location.href