• 返回上一页面:

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

最新文章

  1. ubuntu16.04 install flash
  2. eclipse中使用javadoc生成文档
  3. CF459D Pashmak and Parmida's problem (树状数组)
  4. python中的实例方法、静态方法、类方法、类变量和实例变量
  5. How To: Perl TCP / UDP Socket Programming using IO::Socket::INET
  6. "Invalid bound statement (not found): com.sitech.admin.dao.TbOpenAbilityInfoDao.findAbilityReadyUp"mybatis配置文件bug
  7. 设计模式10---设计模式之原型模式(Prototype)
  8. Runtime简介以及常见的使用场景(此内容非原创,为转载内容)
  9. beta冲刺7-咸鱼
  10. JVM笔记(虚拟机各内存的介绍)
  11. Web开发——jQuery基础
  12. IntelliJ IDEA maven springmvc+shiro简单项目
  13. Vue.js路由
  14. python3中启动 uiautomator2viewer时报错解决办法
  15. ElasticSearch 2 (21) - 语言处理系列之单词识别
  16. Git从零开始(一)
  17. [Windows Azure] Using the Graph API to Query Windows Azure AD
  18. C#.NET常见问题(FAQ)-方法参数带ref是什么意思
  19. spring boot与spring mvc的区别
  20. struts中request传递中文乱码问题

热门文章

  1. Rust-函数
  2. 第四周(实际是n+周)
  3. es根据关键词查看某个指定索引的内容并删除
  4. 一条命令查看docker容器的ip地址
  5. Linux 上安装 PostgreSQL
  6. 【C++】从零开始的CS:GO逆向分析1——寻找偏移与基址的方法
  7. androidmanifest.xml 反编译
  8. python提效小工具-统计xmind用例数量
  9. 一篇带你了解如何使用纯前端类Excel表格构建现金流量表
  10. OpenAPI 接口幂等实现