Dear Friends i am working on a project of web browser, in this browser i need a back button , i wanted that my back button maintain the value of previous pages for example google chrome back button.
can anybody tell me how to code chrome like back button
Nitin SharmaPosted Apr 7, 2014, 1:26 AM
this piece of code not working , can u send me the full code if any i m attached me code zip file so that you can understand the requirement
Abhay ShankerPosted Apr 5, 2014, 7:22 AM
function goBack()
{
window.history.back()
}
Sunny SharmaPosted Apr 5, 2014, 5:41 AM
Use the following jQuery snippet:
$(document).ready(function(){
});
Add a "go-back" class to your input element (anchor/button) and that's it.
e.g.:
You can refer to this sample jsfiddle:
http://jsfiddle.net/sunnykumar08/K7At9/
Happy Learning :)
Cheers!!