码迷,mamicode.com
首页 > Web开发 > 详细

HTML前进后退功能

时间:2015-06-18 11:12:17      阅读:149      评论:0      收藏:0      [点我收藏+]

标签:

  1. <html>  
  2. <body>  
  3. <input type=button value=刷新 onclick="window.location.reload()">  
  4. <input type=button value=前进 onclick="window.history.go(1)">  
  5. <input type=button value=后退 onclick="window.history.go(-1)">  
  6. <input type=button value=前进 onclick="window.history.forward()">  
  7. <input type=button value=后退 onclick="window.history.back()">  
  8. </body>  
  9. </html

 

HTML前进后退功能

标签:

原文地址:http://www.cnblogs.com/changlun/p/4585063.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!