I have jquery code:
$('#my_span_id').fadeOut(200).html(new_count).fadeIn(600);
I expect this code to work as follows: Decay element in .2 seconds Then change the text instantly Then decay in .6 seconds
However, it works as follows: Change text instantly Attenuation in .2 seconds Attenuation after .6 seconds
Clearly, I misunderstood how the chain works. Any suggestions on how to make this work as expected / desirable?
source share