miroweb.com web site development


Backward link using javaScript history

 

 If you want to ad link or button to return visitor back where he came from and you don't know where he came came from use this javaScript :

<input onclick="history.back()" type="button" value=" Back ">

 

Or use just link :

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

Back

Back to scripts