francky06l wrote:
> Seems if you want to update a div on error, you should make $ajax-
>   
>> submit first.
>>     
> Then your "div to update" could contain some values in case of error
> or an url in case of success. Now if you want this redirection to be
> html (not ajax), just use a javascript (window.location) ..
>   
yes I undarstand

but not sure where to use window.location should be on complete action ? 
I do not think so because I want redirect on success only.

Thank You for help

--~--~---------~--~----~------------~-------~--~----~
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