Simple History Back Button


/ Published in: jQuery
Save to your folder(s)

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


Copy this code and paste it in your HTML
  1. $(document).ready(function(){
  2. $('a.back').click(function(){
  3. parent.history.back();
  4. return false;
  5. });
  6. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.