Cakephp Ajax Tutorial - Using Cakephp's Js Helper and jQuery
Why Stack Overflow recommends it
Stack Overflow users link it when answering CakePHP Ajax and form validation questions, though several note it targets CakePHP 1.3 and breaks on 2.x.
Recommended by 4 people across 4 different months, 2011 to 2014.
What it is
A nearly hour-long CakePHP tutorial by Andrew Perk that builds an Ajax-enabled contact form. He uses CakePHP's Js helper with jQuery for Ajax database submission, then writes custom jQuery to do Ajax validation against existing CakePHP model validations.
What people said
Recommends aradhya · 2011-12 · Stack Overflow · on “JsHelper and Ajax not working in Cakephp”
I am using the latest one ! I am very new to the framework. Nup ! It still does not work. I even copied the exact same code that was given in this tutorial: [this video] and now when I click on the submit button it takes me to a blank page ! The entries are getting saved in the database but nothing else is happening.
Recommends NewRehtse · 2012-01 · Stack Overflow · on “Read data from database and display content in jquery dialog box”
I don't know how to do that in cakephp 2.0, but I satrted to make little things in ajax with this video tutorial: [this video] Maybe it can help you too.
Recommends Saanch · 2012-04 · Stack Overflow · on “Cakephp 2.1 Form Error”
Andrew Perk has posted some excellent videos in Youtube for CakePHP. You can watch one of those explains how can do an AJAX validation with CakePHP and jQuery. Please watch it Cakephp Ajax Tutorial - Using Cakephp's Js Helper and jQuery [this video] It may be helpful for you.
Recommends user3224207 · 2014-01 · Stack Overflow · on “Undefined index error in Cakephp”
It is video tutorail on YT. This guy is very knowledgable and I have been following his tutorials for sometime now. He explains two tutorials on using Ajax. First one is running fine but second one not while the whole code is same except for some changes I made to make it compatible with latest version of Cakephp. Here is link ( [this video] )
Cites NullPointer · 2013-02 · Stack Overflow · on “Ajax is not working in Cakephp 2.2.3”
I am having the exact same problem. I see you were using the Cakephp tutorial by Andrew Perkins (I am using the exact same one so my code is identical) [this video] I believe the problem is that he made this video tutorial based on Cakephp 1.3. The syntax has changed a lot in 2.0. I haven't figured out how to get it working in 2.2.3 yet either but I think that this is the reason.