[jQuery] Re: (autocomplete) Is it possible to cache the empty results ?

2009-09-03 Thread mathieuuu
I found it : in fact I had to replace "if (data && data.length)" by "if (data)" and now it's working with empty results. Shouldn't it be the appopriate behaviour ? On Sep 3, 2:47 pm, mathieuuu wrote: > Does somebody has any idea ? > > On 31 août, 15:28, mathieuuu wrote: > > > Hi, > > > Thanks

[jQuery] Re: (autocomplete) Is it possible to cache the empty results ?

2009-09-03 Thread mathieuuu
Does somebody has any idea ? On 31 août, 15:28, mathieuuu wrote: > Hi, > > Thanks for your answer rupak but I tried your fix and it did not give > the expected result. > On the contrary, now I think that the plug in is no longer using > cache, even for non-empty results... > > On 31 août, 13:58,

[jQuery] Re: (autocomplete) Is it possible to cache the empty results ?

2009-08-31 Thread mathieuuu
Hi, Thanks for your answer rupak but I tried your fix and it did not give the expected result. On the contrary, now I think that the plug in is no longer using cache, even for non-empty results... On 31 août, 13:58, rupak mandal wrote: > Hi , > you have to make a little changes in autocomplete.

[jQuery] Re: (autocomplete) Is it possible to cache the empty results ?

2009-08-31 Thread rupak mandal
Hi , you have to make a little changes in autocomplete.js Search for "*if (data && data.length*)" condition which is inside "request" function. Add this code before the *if * condition if(data) data.length=0; Thanks Rupak On Mon, Aug 31, 2009 at 3:36 PM, mathieuuu wrote: > > Hello, > > I