If you do multiple events one right after another, they may not have the chance to complete. Instead use the callback for the events. $(‘#movingDiv’).slideDown(‘medium’, function(){ $(‘#movingDiv’).slideUp(‘medium’); });
If you do multiple events one right after another, they may not have the chance to complete. Instead use the callback for the events. $(‘#movingDiv’).slideDown(‘medium’, function(){ $(‘#movingDiv’).slideUp(‘medium’); });