From my experience, the ajax helper in cake does not work well. I have replaced it to work with jQuery. You can read more about it here: http://bit.ly/dulv9L
cdburgess
2010-09-02 14:29:22
From my experience, the ajax helper in cake does not work well. I have replaced it to work with jQuery. You can read more about it here: http://bit.ly/dulv9L
Agree with cdburgess - in my experience, the AJAX helper in CakePHP is intended for a very limited and (in my opinion) not very useful purpose - namely, clicking links and updating divs with the result. I ended up using Prototype/Scriptaculous (which are better integrated with CakePHP than jQuery) to manually do AJAX, using Prototype's AJAX functionality with CakePHP's RequestHandler to determine when to return AJAX.
But if you're not doing much more than updating boxes, Reverse Folds has a good article on using CakePHP's helper.