aspdotnet-suresh offers articles and tutorials,csharp dot net, articles and tutorials,VB.NET Articles,Gridview articles,code examples of 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

jQuery Back Button Code | Go Back to Previous Page in jQuery

Apr 25, 2013

Here I will explain
jQuery code snippet to back button event or go back to last visited webpage with back button option using jQuery.

In previous posts I explained reload iframe for every few seconds using jQuery,
change background of controls when validation fails, Change textbox background color in JavaScript, split the string, add fade in effect to page and many articles relating to code snippets in JQuery. Now I will explain jQuery code snippet to go back last visited webpage with back button option using jQuery.

To go back to last visited page or previous visited page we need to write the code like as shown below

<script type="text/javascript">
$(function() {
$('#back').click(function() {
return false;

If you enjoyed this post, please support the blog below. It's FREE!

Get the latest,, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email.

subscribe by rss Subscribe by RSS subscribe by email Subscribe by Email


Anonymous said...

hi, how to disable it ?

Martand said...
This comment has been removed by the author.
Suneel Kumar said...

Hello Suresh, Can you send me the code for online payments acceptance through either Debit card or Credit card in web application?

sradhanjali sahoo said...

good morning sir, can you send some note on silverlight.

suresh kumar Maddhikunta said...

HI this sureshkumar how to disable the back button?

Give your Valuable Comments

Other Related Posts

© 2015 All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.