$.ajax({
url: 'your-pagination-url',
dataType: 'json',
success: function(response) {
// your code for updating the page with the new data
},
error: function(jqXHR, textStatus, errorThrown) {
console.error('Request failed: ' + textStatus + ', ' + errorThrown);
}
});
下一篇:Ajax分页没有记住上一页