webmaster resources and information

Path = Home : Webmaster Resources : Javascript Tips > Previous Page


Back to Previous Page With A Button or Link


 


Web Source Web Design Tips
by Shelley Lowery

Button:

<form>
<input type="button" value="Back to Previous Page"
onClick="javascript: history.go(-1)">
</form>

Link:

<a href="javascript: history.go(-1)">Back</a>

Place either code where you would like the button or link to appear.

 


Tip provided by: Web Source: Your Guide to Professional Web Design and Development. http://www.web-source.net

 







 

 

Menu


Online Stores


Search This Site

Custom Search

Miscellaneous