[jQuery] Re: Determine if autocomplete returns an empty list and number of records returned

2009-06-23 Thread JohnT
d"; } John On Jun 23, 12:48 pm, Dushyant Patel wrote: > Could you please share code snippet with me. > > Thanks in advanced. > > On Jun 23, 9:29 am, JohnT wrote: > > > Hi. Sorry, but I am not getting this flicker effect. > > > Actually, I don't th

[jQuery] Re: Determine if autocomplete returns an empty list and number of records returned

2009-06-23 Thread JohnT
g script block. > > >         isEmpty: function(data) { > >                 if (data == 0) { > >                         $("#result").html("No match found"); > >                 } > >         } > > > I am having same problem, but i don&

[jQuery] Re: Can I validate and update the entered value before doing the search?

2009-06-12 Thread JohnT
Hi. I the jQuery source code there is a function called onChange that sends the value of the input box to the backend server and/or checks the local cache. I've implemented a function that checks for valid characters via a regex first before send the result to the backend server for processing. I

[jQuery] Determine if autocomplete returns an empty list and number of records returned

2009-06-05 Thread JohnT
Hi. I've just started using jQuery Autocomplete a few weeks ago. While using jQuery, I found that I needed to know how many records were returned and also if the result set returned was empty. After searching the jQuery documentation I couldn't find any property or method that returned this value