[jQuery] Re: [autocomplete] Problem with .result

2009-02-06 Thread Han
Has anyone figured out a solution to this? I'm trying to modify the autocomplete plugin so that it triggers a different function (something like clearField() instead of result()) when you click anywhere outside of the autocomplete search. You can then write some javascript to clear the hidden

[jQuery] Re: [autocomplete] Problem with .result

2009-01-26 Thread Styx
It dosen't work. For example: I use tab key to navigate. If focus is set to input, id will be empty. If I don't want change my input, id also shouldn't be change. IAnother example: If my result work and set id properly, if I keypress shift or ctrl, id field will be cleared. On 24 Sty, 00:20,

[jQuery] Re: [autocomplete] Problem with .result

2009-01-26 Thread Aaron Jensen
Yeah, we've run into this same trouble as well. It would be nice if there was a hook to handle this built into Autocomplete. On Mon, Jan 26, 2009 at 3:18 AM, Styx pawel.chuchm...@gmail.com wrote: It dosen't work. For example: I use tab key to navigate. If focus is set to input, id will be

[jQuery] Re: [autocomplete] Problem with .result

2009-01-23 Thread Jörn Zaefferer
You could add another keyup-event-handler to the input field, and clear the id field. As long as that runs before the result-handler is setting the data, it should give you the result you need. Jörn On Fri, Jan 23, 2009 at 5:09 PM, Styx pawel.chuchm...@gmail.com wrote: Hi. I have two