[jQuery] Re: AutoComplete Detecting mustMatch failure.

2008-09-13 Thread Jörn Zaefferer
Could you file a ticket for this? http://dev.jquery.com/newticket Thanks Jörn On Fri, Sep 12, 2008 at 8:05 PM, PeterS <[EMAIL PROTECTED]> wrote: > > There is a simple way to solve this - but you have to alter the plugin > code: > > 1. Look for the `function hideResultsNow()` > 2. Below the code >

[jQuery] Re: AutoComplete Detecting mustMatch failure.

2008-09-12 Thread PeterS
There is a simple way to solve this - but you have to alter the plugin code: 1. Look for the `function hideResultsNow()` 2. Below the code else $input.val( "" ); I added this line: $input.trigger("result", null); That's it - this makes the `result` event is triggered (w

[jQuery] Re: AutoComplete Detecting mustMatch failure.

2008-08-28 Thread Chris Bailey
I'm running into something similar. The result handler has no corrollary for cases where you aren't using mustMatch, and want to take some action if the user doesn't select something. For example, I want to put the ID from the extra data value into a hidden field when it matches, but want to cle

[jQuery] Re: AutoComplete Detecting mustMatch failure.

2008-08-20 Thread Brad
I found a workaround, but it isn't great. If I attach a .blur(handler) to the autocomplete field I can clear the related fields when the user leaves that field by checking for val()==''. I'd love to hear that there is a way to do the same when mustMatch clears the autocomplete field. I'd like to