Create a “load more” widget using PHP, Ajax, and jQuery

Several months ago I created a post that was quite popular: Create a “load more” widget using PHP, Ajax, Mootools, Bootstrap and Mustache.js. Today I decided to port the code from Mootools to jQuery.

Prerequisite

This tutorial requires several prerequisite in order to be completed successfully:

  • The server needs to run PHP5 to be able to use JSON functions.
  • The widget does not need any custom CSS we will only use the famous Bootstrap Framework.
  • We will use the lastest version of jQuery (1.10.1)

For the logic please refer to Create a “load more” widget using PHP, Ajax, Mootools, Bootstrap and Mustache.js, and to see the code refer to the demo