If everything fails, do a debug($this) in your controller and look for
your data in the controller dump.
HTH
On Jun 12, 3:49 pm, Crabby <[EMAIL PROTECTED]> wrote:
> Hi guys
>
> If I'm calling 'controller/action' from an Ajax.Request how do I
> access the parameters I send in the action? IE
>
> new Ajax.Request('modules/onUpdate/', {
> method: 'post',
> postBody: postBody,
> onComplete:
> function(transport) {alert(transport.responseText)}
> });
>
> How would I access postBody in
>
> function onUpdate()
> {
>
> }
>
> Any help would be much appreciated
>
> Crbby
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---