Created
October 27, 2017 16:18
-
-
Save kerrtravers/9a004173baea2bc35349e8072f94ec4f to your computer and use it in GitHub Desktop.
Print a page using Javascript
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 printPage() { | |
window.print(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment