Dylan,

You're correct. It also doesn't work very well if you're displaying the drop
down options in a drastically different way then the autocomplete box is
being filled in.

However, it's a nice feature if you've got a very straightforward match.

Also, on a somewhat related note, what I've been doing for "contain" type
matches is loading exact "start" matches at the top of the search results
and "contain" matches below that. Seems to work pretty well for looking up
customers out of the database. 

-Dan 

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>Behalf Of Dylan Verheul
>Sent: Friday, January 12, 2007 3:36 PM
>To: jQuery Discussion.
>Subject: Re: [jQuery] Dylan Verheul's Autocomplete Mod...
>
>I have't actually looked at the code, but it's nice to see that the
>autocompleter is still being used and improved upon.
>
>One thing:
>
>> * Autofill pre-populates text box as you type
>
>This probably won't work if you allow searching within a string, and
>not just at the beginning of the string.
>
>Best,
>
>Dylan
>
>On 1/12/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote:
>> I needed some modifications to the autocomplete library that Dylan
>Verheul
>> released, and I wanted to share the modded library:
>>
>> http://www.pengoworks.com/workshop/jquery/autocomplete.htm
>>
>> Here are some of the things I fixed/changed:
>>
>> * Supports local data array (can now use w/out AJAX).
>> * Limit dropdown to XX number of results (good for limiting the results
>to
>> users)
>> * Autofill pre-populates text box as you type
>> * New findValue() method can be used to programmatically determine if the
>> value in the box is a valid option. (Useful for verifying the text
>entered
>> is an existing value option.)
>> * Dropdown options now correctly re-position themselves on each display
>> (which means they adjust for changing to the DOM)
>> * Dropdown box defaults to the width of the input field its attached to
>(you
>> can manually specify a larger width as well)
>> * Better emulates Windows autocomplete boxes (for example: hitting delete
>> and retyping the same box will now bring back the dropdown menu)
>> * Miscellaneous bug fixes
>>
>> -Dan
>>
>>
>> _______________________________________________
>> jQuery mailing list
>> discuss@jquery.com
>> http://jquery.com/discuss/
>>
>
>_______________________________________________
>jQuery mailing list
>discuss@jquery.com
>http://jquery.com/discuss/


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

Reply via email to