jsページは事件を更新して、Javascriptはページのいくつかの方法を更新します.

3139 ワード

1)

10    10     
 
2)

window.location.reload(true);

          iframe  window   frame    ID 
 
3)

window.navigate("   url");

 
4>
function abc()
{
window.location.href="/blog/window.location.href";
setTimeout("abc()",10000);
}
    :
Response.Write("window.location.href=window.location.href;")
    :
Response.Write("opener.location.href=opener.location.href;")
     :
Response.Write("window.location.href='yourpage.aspx';")
 
  
 
  
 
  
 
  
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