“Go Back” With Button.

In the browsers already have “back” buttons.

Input button with inline JavaScript

<input type=”button” value=”Go Back From Whence You Came!” onclick=”history.back(-1)” />

This is completely obtrusive, but you could fix that by only adding this button through JavaScript.

 

 

 

Written by Ranjeet Jha

Ranjeet Jha

Hey there! My name is Ranjeet. I’m a Web Designer & Front-end Developer. I design, code, build & promote all things HTML5, CSS3, JavaScript & jQuery. In this blog you will find solutions of day to day problems faced by you.. Enjoy Coding..

Leave a Reply

Your email address will not be published. Required fields are marked *