Jf wrote:
> >
> > Hope it helps someone else.
> > >
>
> Yes me ! :-)
Great !! It works now for me.
Just to add some "cherry" on top of the cake :
It is possible to modify the classname of the generated div.
So if you do not want ot have class="autocomplete" in the generated
form simply do :
<? echo
$ajax->autoComplete('Post/title','/posts/autocomplete',array('class'=>'searchpost'))
?>
This will force the autocomplete to generate a <div class="searchpost">
This could be handy if you want different css style for different
autocomplete search result ;-)
and again : thank you so much for the tip !
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---