本文实例讲述了Laravel+jQuery实现AJAX分页效果。分享给大家供大家参考,具体如下:
JavaScript部分:
//_______________________
// listener to the [select from existing photos] button
$('#photosModal').on('shown.bs.modal', function () {
// get the first page of photos (paginated)
getPhotos(function(photosObj){
displayPhotos(phot