Saturday, July 4, 2009

Re: jquery cakephp post data problem

Thanks for responding. I tried that and
changed the controller to

$this->log("getindicator called".$this->data['ajax']);

but didnt change anything.

On Jul 4, 3:31 pm, Miles J <mileswjohn...@gmail.com> wrote:
> Try changing this:
>
> data: "ajax=true&id="+selected,
>
> To:
>
> data: "data[ajax]=true&data[id]="+selected,
>
> And then you can grab the data with $this->data['ajax'];
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: