Maybe you could use the "with" option.

On Aug 19, 3:10 pm, f1codz <[EMAIL PROTECTED]> wrote:
> dear all,
>
> i have a problem with $ajax->link() function.
>
> My doubt is - how do we pass post parameters to the action using 
> $ajax->link().
>
> Though the ajaxOptions array contains the options 'parameters' ..
> setting it to some value while calling $ajax->link()  is providing no
> functionality:
>
> $ajax->link('save', 'javascript://' , array(
>                                     'url' => '/controller/action',
>                                     'update => 'my_division',
>                                     'method' => 'post',
>                                     'parameters =>
> 'name=f1codz&value=help'
> ));
>
> i checked the script generated in the source code .. it holds no
> reference to the parameters keyword.
> i hope its not a problem with cakePHP or is it???
>
> please help
--~--~---------~--~----~------------~-------~--~----~
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