[jQuery] Re: How to speed up jQuery

2007-11-20 Thread Flesler
@Snook First of all, this: //check the checkbox when the edit form is loaded if (checkbox.checked) { targets.show(); } Won't be called, but that check is already done, when you do: ...triggerHandler('click') Do you have an online example? I'll check, that seems

[jQuery] Re: How to speed up jQuery

2007-11-20 Thread Snook
Sorry for the previous post ... So, I would like to show/hide some . I fisrt verify if checkbox are checked on form load. And then, I use a function for each checkbox. I have 5 of them to verify, so 5 calls to myToggleDisplay which just this part took 9 sec more under IE6 (only for these checkbo

[jQuery] Re: How to speed up jQuery

2007-11-20 Thread Snook
I also have found a thread in jQuery dev, which explain that a regex could be improved. But it didn't improve my JS :-( http://groups.google.com/group/jquery-dev/browse_thread/thread/0611db65f891b7e6 Cheers, Damien On Nov 14, 10:30 pm, Flesler <[EMAIL PROTECTED]> wrote: > Can you make a model o

[jQuery] Re: How to speed up jQuery

2007-11-20 Thread Snook
Hello Flesler, Yes, you got want I would like to do. So when I load a form, I first check the input checkbox if there are checked or not On Nov 14, 10:30 pm, Flesler <[EMAIL PROTECTED]> wrote: > Can you make a model of your situation ? that could help. > What do you want to do exactly? to show/h

[jQuery] Re: How to speed up jQuery

2007-11-14 Thread Flesler
Can you make a model of your situation ? that could help. What do you want to do exactly? to show/hide many tds when a checkbox is clicked? and changeBg(), that's for creating a zebra-like striping of the cells ? First of all, if you want to show ALL the cells in a table, or a row, you can just to