[jQuery] Re: Stopping a $.load call

2007-07-18 Thread cdomigan
I would have to agree with Strija. Using a setTimeout() is the way I've seen 99% of auto-complete widgets implemented. Chris On Jul 19, 10:14 am, batobin <[EMAIL PROTECTED]> wrote: > Very interesting idea. So, if I understand you correctly, an AJAX > request is only made if a person stops typing

[jQuery] Re: Stopping a $.load call

2007-07-18 Thread batobin
Very interesting idea. So, if I understand you correctly, an AJAX request is only made if a person stops typing for 300 milliseconds? It's not the perfect solution since receiving results is now delayed an extra 300ms. And there's still a chance for choppy results if a person is on a very bad int

[jQuery] Re: Stopping a $.load call

2007-07-17 Thread Strija
On Jul 16, 11:15 pm, batobin <[EMAIL PROTECTED]> wrote: > Hello everyone. This is a general question about stopping (or > overriding) an AJAX call once it has been made. In order to illustrate > my question I can give a specific example, but I'm sure this topic is > applicable to many people besid