Oct
17
17
Doing AJAX calls in CakePHP: Part 3 - The JSON Response
Topics: Tutorials, CakePHP, Javascript, jQuery // 2 comments, 2,342 views
The Controller and HTTP response are now working correctly, so it is time to display the response message to the client. We will achieve this by utilizing jQuery to output our JSON. The plan is to show a success message if the JSON passed or display a list of errors if it has failed. Continue reading...