thank you, I'll test that and check speed for local 6.000 options (our
customers/vendors)...
El 24/06/2008 11:11, Jörn Zaefferer escribió:
> Ah, also set minChars: 0, that way a double click on the field
> displays the list of values.
>
> Jörn
>
> On Tue, Jun 24, 2008 at 11:09 AM, Jörn Zaefferer
> <
joern.zaefferer@googlemail.com> wrote:
>
>> Yes, a progressive enhancement from a select to an autocomplete is
>> definitely planned. Its not hard to do anyway: Create a text input,
>> append it before or after the select, hide the select, initialize the
>> input with autocomplete and pass the options as the autocomplete data.
>> Add a button image that indicates the field being equivalent to a
>> select.
>>
>> Something like this:
>> $("select").each(function() {
>> var data = $(this).hide().find("option").map(function() {
>> return $(this).text();
>> });
>> $("<input/>").insertAfter(this).autocomplete(data, {mustMatch: true});
>> });
>>
>> Jörn
>>
>> On Tue, Jun 24, 2008 at 10:50 AM, Enrique Meléndez Estrada
>> <
emelendez@ita.es>