Home > Web Front-end > JS Tutorial > window.print prints the specified div instance code_javascript skills

window.print prints the specified div instance code_javascript skills

WBOY
Release: 2016-05-16 17:09:14
Original
1116 people have browsed it

First we can put the content to be printed in a div, and then use the following code to print.

Copy code The code is as follows:



Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template