JavaScript: The Definitive Guide

25.310. Window.print( ): print the document

JavaScript 1.5:

25.310.1. Synopsis

window.print( )

25.310.2. 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.

Категории