0
How to print specific elements from outside the datatable?
Here’s a JSFIDDLE for example
I wish that when I hit the button PRINT
, that one div
below be printed also
<div id="PRINT_HERE_TOO" class="test">
<h1>
Print Here Too!
</h1>
</div>
Am I clear? Thank you!
Your solution is good, but this setting I believe has to be within the settings of the datatable, because if there is more than 1 page in this solution, the print does not come with all pages.
– Jackson
edited the answer
– sir_ask
Shooow, perfect guy! Thank you!
– Jackson
Didn’t get css? The pink color didn’t come off when printing.
– L.J