javascript打印页面代码_javascript技巧
来源:动视网
责编:小采
时间:2020-11-27 20:42:18
javascript打印页面代码_javascript技巧
javascript打印页面代码_javascript技巧: 代码如下: javascript打印页面 function fPrint(){ //隐藏不需要打印的内容. document.getElementById(divOperate).style.display=none; document.all.WebBrowser.ExecWB(7,1); document.getElemen
导读javascript打印页面代码_javascript技巧: 代码如下: javascript打印页面 function fPrint(){ //隐藏不需要打印的内容. document.getElementById(divOperate).style.display=none; document.all.WebBrowser.ExecWB(7,1); document.getElemen

代码如下:
javascript打印页面 function fPrint(){
//隐藏不需要打印的内容.
document.getElementById("divOperate").style.display="none";
document.all.WebBrowser.ExecWB(7,1);
document.getElementById("divOperate").style.display="block";
}
// --> script>
打印
设置标题
这里是要打印的内容 |
hello |
hello |
hello |
hello |
hello |
javascript打印页面代码_javascript技巧
javascript打印页面代码_javascript技巧: 代码如下: javascript打印页面 function fPrint(){ //隐藏不需要打印的内容. document.getElementById(divOperate).style.display=none; document.all.WebBrowser.ExecWB(7,1); document.getElemen