Tuesday, February 28, 2012

autocomplete

Hi,

I having problem with an autocomplete function.

I have a form with a search input. Via jquery I catch the submit
function and do a $.post(); to my search controller/action which
returns the found data to a view via $this->set(compact('data'));

I used this->layout = 'ajax';

And here is my problem.
How can I display my template autocomplete.ctp as div within my
layout?

For now it exits only "behind the scenes".
Somehow I need to make it visible...
I am just lost in this...

--
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: