javascript to achieve the implementation of a second method

javascript to achieve the implementation of a second method

<pre>
i=0;
function showzhandou() {
$('.zhandouresult p').eq(i).fadeIn();
setTimeout(function () {
i++;
showzhandou();
}, 1000)
}
</pre>

ps: is the use of recursive

Guess you like

Origin www.cnblogs.com/newmiracle/p/11865582.html