Well you can set the "controller/action" using $this->Set(..) in
controller and build up your javascript string with the variable ..
hth

On May 16, 1:24 pm, Dovdimus Prime <[EMAIL PROTECTED]> wrote:
> Okay, I get the idea of using callback functions to get the ajax->form
> to do additional stuff. But the stuff I need it to do depends upon
> which button in the form is pressed.
>
> How can I dynamically specify things in the $options array?
>
> For example, how can I get my ajax->form to call
>
> window.location.href = "the new action"
>
> only in a given situation?
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to