[JavaScript] JavaScript在网页上创建一个向前(下一页)按钮 →→→→→进入此内容的聊天室

来自 , 2020-10-31, 写在 JavaScript, 查看 176 次.
URL http://www.code666.cn/view/e8de67aa
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <script>
  5. function goForward()
  6.   {
  7.   window.history.forward()
  8.   }
  9. </script>
  10. </head>
  11. <body>
  12.  
  13. <input type="button" value="Forward" onclick="goForward()">
  14.  
  15. <p>Notice that clicking on the Forward button here will not result in any action, because there is no next URL in the history list.</p>
  16.  
  17. </body>
  18. </html>
  19.  
  20. //javascript/7894

回复 "JavaScript在网页上创建一个向前(下一页)按钮"

这儿你可以回复上面这条便签

captcha