Name
Window.print( ): print the document â JavaScript 1.5:
Synopsis
window
.print( )
Description
Calling print( )
causes the
browser to behave as if the user had clicked the browserâs Print button. Usually, this brings up a
dialog box that enables the user to cancel or customize the print
request.
Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.