Queue Each
Queue Each
I want to execute the same animation on each object in an array, one after another. I tried this:
-
$("ul li").each(function(i){
$(this).queue(function(){
$(this).fadeOut("slow");
$(this).dequeue();
});
});
but it fades them all at the same time. What am I doing wrong?