window.location.href的用法
window.location.href=window.location.href; 刷新当前页面,向指定的url提交数据
window.location.Reload():刷新当前页面。window.location.Reload()会提示是否提交
2.
self.location.href="/url" 当前页面打开URL页面
location.href="/url" 当前页面打开URL页面
windows.location.href="/url" 当前页面打开URL页面,前面三个用法相同。
this.location.href="/url" 当前页面打开URL页面
parent.location.href="/url" 在父页面打开新页面
top.location.href="/url" 在顶层页面打开新页面
window.location.href的用法
标签:
原文地址:https://www.cnblogs.com/tongcc/p/11773763.html
温馨提示: 本文由杰米博客推荐,转载请保留链接: https://www.jmwww.net/file/9680.html
- 上一篇:C#使用Redis
- 下一篇:C#调用EXE执行档