I would like to reload jQuery fadeOut () while it is in the middle of fading.
I have the following statement
$('#status').html('<div style="padding:5px; margin:0 0 0 200px;"><img src="/images/done.png" /> ' + message + '</div>').show().fadeOut(2000);
When the user performs an action, this statement starts. within 2 seconds, when it works, the user can perform another action that triggers this statement.
Currently, fadeOut must complete before the fadeOut animation plays again.
Is there a way to make fadeOut restart again from the start?
sf.
source share