protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect(Request.Url.ToString());
}
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.
本文介绍了八种使用不同技术实现网页刷新的方法,包括利用历史记录、位置对象、文档对象模型等手段,适用于各种网页开发场景。
4万+

被折叠的 条评论
为什么被折叠?



