http://fra.orkos.com/produits/tarifs.aspx Here is a page which I made. This
page presents a list of products classified in a hierarchy. I have a textbox
that allows the user to filter these products. Try to type a text in this
textbox (for example the word "apple") and observe the speed of filte
http://fra.orkos.com/produits/tarifs.aspx Here is a page which I made. This
page presents a list of products classified in a hierarchy. I have a textbox
that allows the user to filter these products. Try to type a text in this
textbox (for example the word "apple") and observe the speed of filte
Thank you for your answer.
With your code, the script is much faster, but it however remains much much
slower than writing "normal" javascript
You can compare the performances, I update the script with your line of
code.
Renato Formato wrote:
>
>
> mathmax ha scr
Thank you.
Is it possible to interrupt the script each time the user enter a new letter
in the search box ?
Dan G. Switzer, II wrote:
>
>
>>http://fra.orkos.com/produits/tarifs.aspx Here is a page which I made.
>>This
>>page presents a list of products classified in a hierarchy. I have a
>
this test : if( tbxValue != lastTbxValue ) will always return false because
the function each() monoplize the unique thread. The event "onkeyup" from
the textbox couldn't occur while each() is running, so tbxValue remains the
same in the meantime.
Dan G. Switzer, II wrote:
>
>
>>Thank you.
It doesn't work : I write this :
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()
yes, but why doesn't interruption work even if the callback function
fromonkeyup event is called with a setTimeout ?
Dan G. Switzer, II wrote:
>
>
>>function Populate(instance_en_cours)
>>{
>> rowsToShow = culmsName.contains(tbxValue).parent();
>> rows.not(rowsToShow).each(function()
7 matches
Mail list logo