On 8/29/06, Stefan Petre <[EMAIL PROTECTED]> wrote: > Dylan Verheul wrote: > > Stefan, your plugin also seems to be missing the ability to search on > > a part of the result that is not at the beginning of the line. > > > > Example: if I would search for continents (let's say possible results: > > North America, South America, Europe, Africa, Asia, Australia), and > > started typing "am", I'd want both America's to show up.
8< snip >8 > In the example you search by country name, not the continent list. So > the ajax backend searches only there and only the beginning I understand how the example works. It's just that if you want to have a real world autocomplete, you should take into account real world uses. If your backend searches inside the text instead of only the beginning, and you implement caching, you'll need a javascript search to imitate the backend. You can see an example in my autocompleter. http://www.dyve.net/jquery?autocomplete _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
