jsp 页面返回、本页面刷新
2024-09-08 11:29:32
- 返回上一页面:
window.history.go(-1); //返回上一页
window.history.back(); //返回上一页
- 返回上一页面并对上一页面刷新:
history.go(-1);location.reload();
- 刷新本页面:
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
参考鸣谢:
http://www.jb51.net/article/14397.htm
最新文章
- ubuntu16.04 install flash
- eclipse中使用javadoc生成文档
- CF459D Pashmak and Parmida's problem (树状数组)
- python中的实例方法、静态方法、类方法、类变量和实例变量
- How To: Perl TCP / UDP Socket Programming using IO::Socket::INET
- ";Invalid bound statement (not found): com.sitech.admin.dao.TbOpenAbilityInfoDao.findAbilityReadyUp";mybatis配置文件bug
- 设计模式10---设计模式之原型模式(Prototype)
- Runtime简介以及常见的使用场景(此内容非原创,为转载内容)
- beta冲刺7-咸鱼
- JVM笔记(虚拟机各内存的介绍)
- Web开发——jQuery基础
- IntelliJ IDEA maven springmvc+shiro简单项目
- Vue.js路由
- python3中启动 uiautomator2viewer时报错解决办法
- ElasticSearch 2 (21) - 语言处理系列之单词识别
- Git从零开始(一)
- [Windows Azure] Using the Graph API to Query Windows Azure AD
- C#.NET常见问题(FAQ)-方法参数带ref是什么意思
- spring boot与spring mvc的区别
- struts中request传递中文乱码问题