Created
November 24, 2011 02:36
-
-
Save robzolkos/1390507 to your computer and use it in GitHub Desktop.
Browser prints hidden elements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function printJobSheet() { | |
$('.historysection').hide(); | |
$('.copy').hide(); | |
window.print(); | |
$('.copy').show(); | |
$('.historysection').show(); | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment