November 5, 2013

How to work with History Back Button with JavaScript

In this tutorial we are working with Back Button same as History Back button of  Internet Browsers(eg. Internet Explorer, Mozilla Firefox etc.)

To understand this phenomena take an example that if you have made a search on a page(index.jsp) and you have to moved on another page(some_other_page.jsp) but you want to see previous search again then you have to back through Internet Browser Back button but you can add similar back action by coding which i am try to explain by this example with code.


script inside <head> tag

 back button code on same page inside <body> tag



We shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its response or damage to your system. We do not guarantee that the integrity or security of this communication has been maintained or that this communication is free of viruses, interceptions or interferences. Anyone communicating with us by email accepts the risks involved and their consequences. We accept no liability for any damage caused by any virus transmitted by this site.