$('.selector').infinitescroll({
.....
// other options dataType: 'json', appendCallback: false }, function(json, opts) { // Get current page var page = opts.state.currPage; // Do something with JSON data, create DOM elements, etc .. });
转载请注明:谷谷点程序 » jquery infinitescroll ajax分页