For intance, lets say we have 50 posts in a blog.
With php you would usually load 10 posts per page and the site will only load those 10 posts until you click another pagination page. Now with jQuery, the site will first load the 50 posts. Then jQuery will work with the generated HTML in order to build the pagination. Well, this is just an assumption; if there are a lot of posts, the performance will be highly affected (it will take a long time for the site to load at the beginning). I would like to know what if anyone had any experience using a jQuery-based pagination system.
For intance, lets say we have 50 posts in a blog. With php you
Share
The reason for jQuery pagination is to use a ajax json to asynchronously get the data results based upon request. This allows you to only load a small amount of the total data and still not have to reload the whole page when changing the page.