Simple Print Button

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

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

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

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.