and write a method in the desired controller which returns JSON and must be requested as XHR ($this->request->is('ajax');)
pretty straight forward to implement this way. Json views make it ridiculously straight forward (just a bit of config really)
if you are still stuck i'll grab an example from work tomorrow and dump it for you.
On Wed, Jul 25, 2012 at 11:27 PM, euromark <dereuromark@googlemail.com> wrote:
Although the description might be german, the example itself should be understandable:
Am Mittwoch, 25. Juli 2012 14:48:37 UTC+2 schrieb Dr. Tarique Sani:Keep your js separate from the php and any solution will work.
Tell us what specifically is not working
Cheers
Tarique
On Wed, Jul 25, 2012 at 6:40 AM, Christopher von Hessert
<cvhessert@gmail.com> wrote:
> Hi, I'm looking all over google for a way to implement a Autocomplete input
> field with no luck. All examples I have found are for cakephp < 1.3
>
> Does anyone have a working example for cakephp 2.2?
>
> Thanks.
>
> --
> 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+unsubscribe@googlegroups.com For more options, visit this group at
> http://groups.google.com/group/cake-php
--
=============================================================
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment