History Back of Forward

[Total: 0    Average: 0/5]

This shows how to create 2 form buttons, where 1 button goes back to the previous page, and the second button goes to the next (forward) page.

Body Code:

<form>
<br><input type=button value="Go Back One Page"    onclick="history.back();">
<br><input type=button value="Go Forward One Page" onclick="history.forward();">
</form>

Times Viewed: 5

Leave a Reply

Your email address will not be published. Required fields are marked *