AJAX Pagination
It's very easy to incorporate Ajax functionality into pagination. The only extra coding required is the inclusion of the the Prototype JavaScript library, setting the indicator (loading icon inside of DIV) and the specifying of a DIV to be updated (instead of reloading the page).
Do not forget to add the RequestHandler component to use Ajax calls to your controller:
Простой текстvar $components = array('RequestHandler');


Коментарии:
Добавить коментарий