CakePHP AJAX pagination with jQuery [updated]

One of common tasks for optimizing server load and database speed is data pagination. CakePHP already supports this feature, however it’s javascript framework is prototype which is more rare than jQuery. Since a lot of developers love jQuery, I am going to share a easy for paginating database results retrieved via AJAX the easy way.
Controller [...]