AJAX pagination makes it easier to display the large list of records in multiple pages without refreshing the whole page when navigating.
While navigating pages if you refreshed the webpage then it will load record from 1st instead of page position before the refresh.
E.g. If you are on the 5th page then it will again start from 1st when webpage reload.
To retain the position, I am using COOKIE to store the page number and use it after page successfully load to fetch records in CodeIgniter.