Andreas Wahlin schrieb:
>> I reduced that delay because it was rather unresponsive with 500ms  
>> on my
>> computer. Maybe something inbetween would be a better choice.
>>     
>
> I've made it so that the search kicks in 250 miliseconds after the  
> _last_ keypress, so not a set time after the first, but a set time  
> after the last. This means that I store a window.SetTimeout on a  
> variable, that I then clear on each keydown. This allows the user to  
> type to his hearts desire, stop and see what happens. Slow typists  
> will get frequent updates.
>   
I think that is exactly the way how the quicksearch plugin works, or at 
least, how it intends to work. I'll double check that, thanks!

-- 
Jörn Zaefferer

http://bassistance.de


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to