编辑下面的代码:【加编码】
<html> <head> <script> function goForward()   {   window.history.forward()   } </script> </head> <body> <input type="button" value="Forward" onclick="goForward()"> <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> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂