JavaScript creates a forward (next) button on a web page

From , 5 Years ago, written in JavaScript, viewed 77 times.
URL https://pastebin.vip/view/a2b8a85a
  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

Reply to "JavaScript creates a forward (next) button on a web page"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website