Search This Blog

Friday, November 27, 2015

JavaScript Back to Previous Page functionality on a button click

In this post we are going to see How to go back to previous page using Javascript on click of anchor button.


Below is the script which will take you to the previous page upon clicking on Back to previous page button.

<a href="#" onClick="history.go(-1)"> Back to Previous Page </a>

No comments:

Post a Comment