Category : jquery-pagination

I am trying to perform an infinity scroll pagination using window.scroll() method on laravel. Whenever I reach bottom of the page- loadMoreData(page) is called. beforeSend:function() successfully executes. .fail() calls from $.ajax() and alerts "server not responding". Here are my laravel and ajax codes below from 3 different files – index.blade, data.blade(Views/data), PostController.php INDEX.BLADE @extends(‘’) @section(‘content’) ..

Read more