Four (4) steps to set up AJAX Helper in CakePHP
CakePHP has a built-in AJAX helper which required Prototype JS (JavaScript) and Script.aculo.us libraries. To create AJAX interactions with CakePHP is pretty simple and clean.

Four (4) steps to set up AjaxHelper so we could begin to use it :
Download the required JavaScript libraries
Prototype JS could be downloaded at www.prototypejs.org
Script.aculo.us could be download at www.script.aculo.us
Place these JavaScript libraries in /app/webroot/js/.
Add AjaxHelper in your controllers.
For example :
class PostsController extends AppController
{
var $name=’Posts’;
var $helpers=array(’Html’,'Javascript’,'Ajax’);
}
We have to include the … Continue Reading