robzolkos
11/24/2011 - 2:36 AM

Browser prints hidden elements

Browser prints hidden elements

  function printJobSheet() {
    $('.historysection').hide();
    $('.copy').hide();

    window.print();

    $('.copy').show();
    $('.historysection').show(); 
    return false;
  }