I want to load the previous page without postback when I click on a button in the current page.?
The same event should occur when we click on browser back button.
I want to load the previous page without postback when I click on a button in the current page.?
The same event should occur when we click on browser back button.
Check this code:
$('#mybtn').click(function(){
history.go(-1);
});