Is it possible to not add this div
to DOM
at all maybe with the help of JS. And add to DOM only when user tries to print it.
<div id="showInPrint">
<b>Printing Title</b>
<p>
Printing content
</p>
</div>
Is it possible to not add this div
to DOM
at all maybe with the help of JS. And add to DOM only when user tries to print it.
<div id="showInPrint">
<b>Printing Title</b>
<p>
Printing content
</p>
</div>