debug($this->params) gives me the return value of $('input').val() as a key, not a value. The value is empty.
On 15 Feb., 13:34, "Dr. Tarique Sani" <tariques...@gmail.com> wrote: > On Mon, Feb 14, 2011 at 3:42 PM, Jens Dittrich <jdittr...@gmail.com> wrote: > > Whe using: > > $this->Js->get('input')->event('click', $this->Js->request( > > array('action' => 'search'), > > array('update' => 'target', > > 'dataExpression' => true, > > 'data' => '$(input).val()' > > )); > > I get a request like ..url/controller/action?value which I do not know > > how to access with cakePHP. > > In the said action write debug($this->params); > > See what you get and perhaps i will show you the path > > Cheers > Tarique > > -- > ============================================================= > PHP for E-Biz:http://sanisoft.com > ============================================================= -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php