Mass Media For The Individual
Katy Whitton Web Development Logo
 
 
Codebank - JavaScripts - Back Button

This script allows the user to move back a set number of pages by clicking a link on the webpage instead of clicking the "back" button of their browser

<a href="javascript:history.back()">Back</A>

To change the number of pages that the link moves back by:

<a href="javascript:history.back(-2)">Back</A>


Example:

back

back
 
Codebank

Customer Log-In
If you have purchased our software, enter your email address and password below to download it.