In my HTML page I have 4 list items and the following jQuery code:
$('li').hide().each(function() {
$(this).delay(500).fadeIn(1000);
});
I assumed that the statement inside the .each() function would run for the first list item, would be completed and then run for the second list item etc.
However, all four list items fade in at exactly the same time. Does this mean that the statement runs in parallel for all of the list items?
Is there a way to get the list items to fade in one at a time?