Adding to that, it might be nice to have the option to specify a callback that would fire when no further results are possible. For example, to add a class name to the input that would change the BG color. Or, in *some* cases, one might want further typing to be blocked.
On Thu, Mar 26, 2009 at 7:19 PM, freeav8r <freea...@yahoo.com> wrote: > > np > > On Mar 26, 6:05 pm, Jörn Zaefferer <joern.zaeffe...@googlemail.com> > wrote: >> Could you file this as a ticket?http://dev.jqueryui.com/newticket >> (requires registration/login) >> >> Jörn >> >> On Thu, Mar 26, 2009 at 11:13 PM, freeav8r <freea...@yahoo.com> wrote: >> >> > Hi, >> >> > I have an autocomplete feature request. >> >> > My request is that when a particular prefix is not found on the >> > database, adding to the prefix should not cause more calls to the >> > remote system: >> >> > As an example, say I type in "ThisIsANewEntry", the following might >> > happen: >> >> > T - 5 entries returned >> > Th - 3 entries returned >> > Thi - 0 entries returned >> > This - 0 entries returned >> > ThisI - 0 entries returned >> > ThisIs - 0 entries returned >> > . . . >> >> > Once the jQuery sees that a prefix isn't returning anything more, I'd >> > like jQuery to stop trying.