Posted By

pedromagalhaes on 02/23/11


Tagged

print


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Kurt
uberdragon


Simple Print Button


 / Published in: jQuery
 

Just a simple snippet to print the page. Add the class where you need.

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

Report this snippet  

You need to login to post a comment.