Just echo the json in the action.

http://milesj.me/blog/read/63/Doing-AJAX-Calls-In-CakePHP-Part-2-_-The-Controller

On Apr 21, 8:57 am, pedrosas <[email protected]> wrote:
> I need help, I have a script for dependent selects, type country,
> state, city. In the view of add, works perfectly, but in the edit
> view, the same code does not work. Firebug seen, does not return JSON
> data.
> The only difference I see is in the Data variable in the edit view has
> values
> Anyone have the same problem?
> That solution can be?
>
> Thanks.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to