Posted By

pedromagalhaes on 02/23/11


Tagged

history back


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

Some0ne
mikael12
dubogii
uberdragon


Simple History Back Button


 / Published in: jQuery
 

Just a simple back button. The result is equal as if you clicked on the back browser button.

  1. $(document).ready(function(){
  2. $('a.back').click(function(){
  3. parent.history.back();
  4. return false;
  5. });
  6. });

Report this snippet  

You need to login to post a comment.