Javascript刷新頁面的幾種方法:
1 history.go(0)
2 location.reload()
3 location=location
4 location.assign(location)
')6 window.navigate(location)7 location.replace(location)8 document.URL=location.href.____________________________________________框架中一個框架中框架中一個子
top.location.reload(); 刷新整頁self.location.reload(); 刷新本頁
ScriptManager.RegisterStartupScript(this.UpdatePanel, this.GetType(), "alert", "alert('相簿分類新增成功');window.location.reload();", true);
//Response.Redirect(Request.Url.ToString()); //刷新本頁
this.txt_AddSort.Text = "";
}
更多JS刷新頁的中文方法相關文章網!