On Feb 9, 11:54 am, "MrTufty" <[EMAIL PROTECTED]> wrote:

> The part I'm having trouble with is redirection from an Ajax form. The
> way I understand it is if I do the redirection in the controller
> actions the way I normally would, only the Ajax div will be getting
> updated, which is not what I want.
>
> Am I right about this? How could I make it work the way I want?

You're right. You need to perform the redirect in javascript in the
client side with window.location = ...

It's all explained here:

http://cakebaker.42dh.com/2006/03/15/redirect-with-ajax/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to