Hi, > $('#toto_contaner').children();
That only works, if all .toto elements are direct children of #toto_contaner and there are no other elements in #toto_contaner. In case only the second assumption does not hold, I guess $('#toto_contaner > div.toto').hide() is the fastest solution. If the first assumption does not hold, there are two possible cases. Maybe all .toto elements are inside the #toto_contaner, but some of them are not direct children. Then I guess $('#toto_contaner div.toto').hide() is be the best solution. If there is not reasonable #toto_contaner, then I'd expect $('div.toto').hide() to usually be faster than calling >50 times $('#toto'+n).hide(). Of course that depends on how many other Elements the page contains. The more Elements the page has, the better it is to use IDs instead of classes. > Also, the reason I was using the ref="n" method to set up the list was > for a guaranteed "ref 1 will be toto[1] every time" bit, I see. Since I understood Jean Babtiste that he wants to hide all elements at the same time, I did not think about that problem. Christof