我想使用jqpring打印我的网页的选定 Div 。
IE
<div id="divToPrint1">
Content/section to be printed.
</div>
<div id="divDontPrint1">
Content/section which will not be printed.
</div>
<div id="divToPrint2">
Content/section to be printed.
</div>
<div id="divDontPrint2">
Content/section which will not be printed.
</div>
目标:在这里的所有 div 中,我只想在一个文档中打印divToPrint1和divToPrint2 。
任何帮助将不胜感激!
谢谢。