webmaster resources tips and articles
webmaster information

Path = Home : 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


 

 

© janim.net 2000 - 2008 All rights reserved