English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
print()The method opens a print dialog to print the current document.
window.print()
window.print();Test and See‹/›
All browsers fully support the print() method:
Method | |||||
print() | Yes | Yes | Yes | Yes | Yes |
Return Value: | None |
---|
HTML Reference:HTML onafterprint Event Attribute
HTML Reference:HTML onbeforeprint Event Attribute