Home > Web Front-end > JS Tutorial > javascript partial page printing implementation code_javascript skills

javascript partial page printing implementation code_javascript skills

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-16 18:48:26
Original
1660 people have browsed it

IE comes with Active controls, but Firefox does not support them. What is used here is the js operation dom method to print the text in the specified tag of the form, so when using it, you need to define the relevant tags and their styles (text size, font, etc.).

Copy code The code is as follows:

n";

strPrint=strPrint "
n";
strPrint=strPrint "
n";
oWin.document. write(strPrint);
oWin.focus();
oWin.document.close();
}





Here is the print content. Here is the print content. Here is the print content. Here is the print content. Here is the print content. Here is the print content. Here is the print content. Here is the print content. Here is the print content. Print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is Print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content Print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is Print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content Print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is print content here is Print content here is print content here is print content



The following is the test code:

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
What are JavaScript hook functions?
From 1970-01-01 08:00:00
0
0
0
What is JavaScript garbage collection?
From 1970-01-01 08:00:00
0
0
0
c++ calls javascript
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template