Hi All,

I am stuck in a module.

I want to know how to get back the response and see it in alert message from $ajax->observeField in CakePHP.
What do we have to write against 'complete'?
Moreover, i dont know whether it can be done in $ajax->observeField or not.

Any suggestion would be greatly appreciated.

Best Regards,
Paran

I haven't worked with the builtin prototype library for CakePHP. But I'm guessing you have to use some kind of callback function on the clientside so that when the data is returned from the cake controllers you receive it as data. Don't know the specifics at the moment, sorry.

Thanks for replying, Jomanlk. But i am still stuck in it.

Hi All,

I couldnt find the solution out for response of $ajax->observeField. But using firebug i can see the response from ajax.

Thanks,
Paran

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.