Go follow the extremely good tutorials over at jQuery UI, if you have
tried and failed then by all means tell us what went wrong or you do
not understand.

For a CakePHP slant on how to do this try using Google:
http://www.google.co.uk/search?q=cakephp+jquery+ui+autocomplete

HTH, Paul

On Oct 11, 12:01 pm, Eric Blanpied <sparkal...@gmail.com> wrote:
> I've found it quite easy with jquery UI. Something like this ought to
> work in your .ctp file. Where #UserName is your field's id, and
> $usernames is the list of choices. If you want your autocomplete to do
> server-side lookup, check the jquery UI docs.
>
> <script type="text/javascript">
>         $(document).ready(function() {
>                 $("#UserName").autocomplete({
>                         source: <?php echo json_encode($usernames); ?>,
>                 });
>         });
> </script>
>
> you're welcome :)
>
> -e
>
> On Oct 11, 9:30 am, hoss7 <hoss...@gmail.com> wrote:
>
>
>
>
>
>
>
> > tell me best way for create autoComplete with jquery in cakephp 1.3

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

Reply via email to