I have a table and data in the table i have stored to jquery variable, but i have applied pagination to the table, so only current values of table are getting stored to variable, and the next page entries of table are not, the code is as below, how to get all values in the table to be stored to a jquery variable? can anyone help..?
$("#button3").click(function(){
arr = new Array();
$("td").each(function () {
t = $(this).text();
arr.push(t);
});
var pdf = new jsPDF();
pdf.setFontSize(3);
pdf.text(35, 25,arr);
pdf.save('message.pdf');
});