It returns an empty, but still layer is there, it should be hided.

On Jun 22, 11:10 am, Jörn Zaefferer <joern.zaeffe...@googlemail.com>
wrote:
> What happens when your service doesn't return a result? As long as it
> returns an empty result (not an error), it should work fine.
>
> Jörn
>
> On Mon, Jun 22, 2009 at 5:01 PM, Dushyant Patel<patel.dushy...@gmail.com> 
> wrote:
>
> > Hello,
>
> > I am using jQuery Autocomplete Plug-ins(http://bassistance.de/jquery-
> > plugins/jquery-plugin-autocomplete/).
>
> > Let me explain my problem:
>
> > If i am looking for "shirt" and star typing "shi" and it showing me 10
> > results for shirt, but now after "shi" if i type like "shixyzyz" it
> > should clear list and hide autocomplete layer.
>
> > In my case it is not doing that. Layer stay there with old results.
>
> > Pleaes note that i am making service call using JSONP and following is
> > my code.
>
> > $j(".autocomplete").autocomplete('URL/Service.svc/REST/SEARCH/', {
> >                minChars: 3,
> >                matchContains: true,
> >                selectFirst: false,
> >                cacheLength: 0,
> >                width:307,
> >                dataType: "jsonp",
>
> > any suggestion or hint on this.
>
> > Please help me.
>
> > Thanks in advance.

Reply via email to