How to create a button that load the next (Forward) web page (URL) with HTML and JavaScript

1 Answer

0 votes
<!DOCTYPE html>
<html>
  
<head></head>
  
<body>

<script>
 
function Forward() 
{
    window.history.forward()
}    
            
/*
run:
  
load the next web page (URL) (assuming you go back before)
  
*/

</script>

<input type="button" value="Forward" onclick="Forward()">

</body>
  
</html>

 



answered Jul 14, 2015 by avibootz
...