Dylan Verheul wrote:
> 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
> discuss@jquery.com
> http://jquery.com/discuss/
>
>   
Sorry, my vision of an autocompleter is way different the yours. Firefox 
address bar searches from the beginning, Thundirbird's autocomplete 
starts from the beginning when you type an E-mail address, Gmail same 
behavior, etc. etc.. The users are used with this behavior, why should 
my autocompleter do things in a different way? What real world 
autocompleter?This is not a search box. Is a suggestion box. If you want 
a search box build your own backend the way you want and set autofill to 
false and there you have it.

BTW: you pointed enough to your plugin in this thread. This is not a 
competition, I will not use it as code reference nor behavior. Is a good 
thing there are more plugins to choose from, leave it like this. Anyway 
I would expect a reply with a link to your plugin. Besides, I will 
include your plugin on my website in other plugins list page. Oh joy.

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to