showing 10 numbers one after the other
Hello, new to jquery here...
I have to "fadeIn" 10 numbers, one after the other.
Do i have to nest all the "fadeIn" in my code? Like:
$('#number1').fadeIn(400, function() {
$('#number2').fadeIn(400, function() {
$('#number3').fadeIn(400, function() {
$('#number4').fadeIn(400, function() {
... until 10
Or is there antoher way to do it. I thought with plain JS, calling a function with a setInterval, but I'm afraid then I'd lose the sequence of effects, because after the last fadeIn other effects follow.
Thank you.