[jQuery] Re: Delayed execution

2009-04-24 Thread Remon Oldenbeuving
The following will do the trick i guess: var timeout; $('#search').keyup(function(){ clearTimeout(timeout); timeout = setTimeout($.ajax(),200); } On Fri, Apr 24, 2009 at 2:46 PM, Dragon-Fly999 wrote: > > Hi, my page allows the user to enter a number in a text box and a > search request i

[jQuery] Re: Delayed execution

2009-04-24 Thread temega
something along the lines of this: var interval; $("#searchField").keyup(function(){ clearInterval(interval); interval = setInterval($.post(), '200'); }); On Apr 24, 1:46 pm, Dragon-Fly999 wrote: > Hi, my page allows the user to enter a number in a text box and a > search reque