This is my footer in javascript.
$("").printThis({
footer: " "+$("#table").text()+" <br><h4>Total in Words :
"+$("#txtWord").text()+"</h4>"
});
this is my table
<div id="table">
<div class="col-sm-12">
<table id="tabledata" width="500" style="font-family: arial; text-align: center;border-collapse: collapse; border: 0.1px solid black;padding: 7px; display: none;">
<thead>
<tr>
<th>Sl.No</th>
<th>Emp Name</th>
<th>Emp ID</th>
<th>Emp Gender</th>
<th>Emp Salary</th>
</tr>
</thead>
</table>
</div>
I am printing this table in my print page. I want to print this table using jQuery footer. but not able to get that values. that just printing the values as
Sl.No Emp Name Emp ID Emp Gender Emp Salary 910/02/201863TOTAL63=00
This is the output from the print page that I was printing. Anyone knows how to print please tell me. Thanks in advance.
@pagerule