How to refresh divs in CakePHP

Posted on 23.12.2009 by Emil

The simple way: create one action in controller like yourfunction name where you get data from ajax. In this action use layout ajax. Next step: create a js function like the next one and attach this function to your button link. Simple, right? You can use mootools or jQuery. Te next one is basic jQuery example.

Another articles Related:
Using AJAX with CakePHP tutorial
Using AJAX Routine
AJAX Form POST Request
AJAX Form POST Request