Return back a status message to the ajax call with a redirect URL and then use window.location to redirect the user from the client side.
On Wed, May 14, 2008 at 10:25 AM, Dovdimus Prime <[EMAIL PROTECTED]> wrote: > > I have an ajax form which does some processing and returns data to a > target div. In one particular situation, what I need to happen is that > instead of populating the target div, it calls a new page (view) > instead. > > I tried using this->redirect but this loads the new view into the > target div, rather than as a whole new page. > > Can anyone suggest how I might go about this? > > Thanks > > David > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
