Why this function not work on ie 7 ,8 (delay and fadein) ?
on other browser are delay and fadein good.
But on ie all element show in same time (not delay and fadein).
http://jsfiddle.net/7u8qmdoo/2/
<script>
$(document).ready(function()
{
var i = 0;
(function fadeInNext()
{
$("#num" + i).fadeTo(1000,1);
console.log("Fading in " + i);
i++;
if (i < 8)
{
setTimeout(fadeInNext, 2000);
}
})();
});
</script>