I tried that but it comes up as an empty array. I checked the post data and 
I have set data[query]=woolf which comes up in the transaction. I don't 
understand why the data isn't present.


On Wednesday, 11 July 2012 05:53:42 UTC+1, dario gaston musante wrote:
>
> try with a var_dump( $this->request->data ); or a 
> debug($this->request->data);
>
> El martes, 10 de julio de 2012 19:09:03 UTC-3, Gideon escribió:
>>
>> Hi all, I am trying to send ajax data to an autocomplete action 
>> /researchers/autocomplete.json. I have set data[query]=daniel but still I 
>> get null for $this->request->data('query') or anything else for that 
>> matter. If anyone can help I'd be really appreciative.
>
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to