I need to display different pages by reading the page number from the query string. I tried many options, could not find any solutions. Please find what I tried, please help.
URL: - http: //'localhost'/TestApp/InnerPage.aspx? page = 1
The code: -
var classList = $('.jtable-page-list');
$.each(classList, function (index, item) {
alert(this.innerHTML);
});
$('#divJTableContainer').jtable('load', {
Name: $('#txtClient').val(),
RefNo: $('#txtrefNo').val(),
Email: $('#txtEmailid').val(),
Phone: $('#txtPhoneNumber').val(),
InsuredZip: $('#txtZipCode').val(),
AppDate: $('#txtStartDate').val(),
EffectiveDate: $('#txtToDate').val(),
Status: $('#ddlStatus').val()
});
The class name is not even in the source, so a loop is not possible. I am looking for a way in which a JTable can communicate with a page number. If someone has tried or encountered similar problems, please share.
source
share