Links that go back to the last page

Just use this code to create links that go back to the previous page according to the user/viewer's browser history.

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

Go Back

It uses javascript in the <a> tag. You can go back or go forward as many pages you want. A negative number is for going back while a positive number is for going forward. You can change the number to whatever you like, but keep as -1 if you just want to go back to the last page.

Copyright Brains That Work .
Theme by Pool theme design by Borja Fernandez. ^Top^