It doesn't work : I write this :
<input type="text" name="tbxSearch" id="tbxSearch" class="textbox" onkeypress="return disableEnterKey(event)" onkeyup="tbxValue =this.value.toLowerCase();setTimeout('tbxSearch_keyup()',0);" /> var instance_fonction = 0; function tbxSearch_keyup() { instance_fonction++; Populate(instance_fonction); } function Populate(instance_en_cours) { rowsToShow = culmsName.contains(tbxValue).parent(); rows.not(rowsToShow).each(function(){ if(instance_fonction!=instance_en_cours) { return false; alert("interruption"); } $(this).hide(); }); rowsToShow.each(function(){ if(instance_fonction!=instance_en_cours) { return false; alert("interruption"); } $(this).show(); }); } Dan G. Switzer, II wrote: > > As I stated, you'll want to use a setTimeout() to trigger the population. > This will make the execution asynchronous. > -- View this message in context: http://www.nabble.com/jquery-is%27nt-very-effective-at-execution-tf3887482s15494.html#a11060848 Sent from the JQuery mailing list archive at Nabble.com.