Here Mudassar Ahmed Khan has explained with an example, how to redirect to Previous Page using JavaScript.
The HTML Anchor Link will be assigned an OnClick event handler and when clicked, it will be redirected to the Previous Page using history.back function in JavaScript.
↧