Saturday, February 2, 2008

Implement browser back button in your page

Add following line in your html page:

<input value="back" onclick="history.go(-1)" type="button">

If you want user to always go back one page, you can use history.back() Instead of history.go(-1).

No comments: