Currently, I can only get the data from the 1st page, through the below js code, how can I get all the data from other pages
$('table > tbody > tr').each(function (i, el) {
var selectedVal = $(this).find("option:selected").text();
var $tds = $(this).find('td');
var obj = {
permNo: $tds.eq(0).text(),
fileType: selectedVal,
refer: $tds.eq(3).text()
}
permlist.push(obj);
})