I am trying to make each div fade in one by one.
<div id="w">
<div class="one"></div>
<div class="two"></div>
<div class="three"></div>
</div>
$(function() {
$('#w').each(function(i) {
$(this).delay((i++) * 500).fadeTo(1000, 1); });
});
I'm facing difficulties with getting this script to work as intended. I wonder if I should use css() instead of fadeTo(). Any advice?