Hi All,

Can someone please help me to fix this issue? i am not sure if I am posting
in the right alias?

Thanks,
Pankaj

On Wed, Aug 5, 2009 at 9:02 PM, pankaj <pankaj1...@gmail.com> wrote:

> Hi All,
>
> After I update JQuery autocomplete plugin (jQuery UI Autocomplete
> @VERSION), I found one issue. The issue is as follows.
> When I type "jua" in the autocomplete field. Four matches are returned
> for users with the first name juan. Then add an "n".Only the first
> match remains  in the list.
>
> I have come out from this issue by changing the parameter cacheLength:
> 0 in place of 1.
>
>    $field.autocomplete({
>      url:ac_url,
>      cacheLength:1,
>
>  For the autocompletion data, it reads from the configuration files.
> Say in the files the data are in this way.
>
> jflores:Juan Flores:jflo...@gmail.com <flores%3ajflo...@gmail.com>
> jgomez:Juan Gomez:jgo...@gmail.com <gomez%3ajgo...@gmail.com>
> jrafaela:Juan Carlos Rafaela:jrafa...@gmail.com<rafaela%3ajrafa...@gmail.com>
> jromo:Juan Romo:jr...@gmail.com <romo%3ajr...@gmail.com>
> juanw:Juan Wang:ju...@gmail.com <wang%3aju...@gmail.com>
>
>  It works for previous issue, But creates another problem, If i change
> cacheLength to 0 then if i add some new name in the configuration file
> then it is not taking that updataed
>  data. If i change to 1 then after i type "juan" it displays the last
> one. That is "juanw" and it not displays the other 4name.
>
>
> I could not understand what is missing here. Please help me to resolve
> this issue.
>
> Please let me know if you need more info on this?
>
> Thanks,
>

Reply via email to