1/ Do not remove the element, instead hide it.
2/ You need to show the element before fadeOut, it does not fade out if it is already hidden.
( or use animate
with proper parameters )
$('#clickme').click(function() {
$('#feedback').html('hello world').show().fadeOut('slow', function() {
$(this).hide();
});
});
2
solved jQuery fadeOut not working second time [closed]