You’re using the remove()
function wrongly.
$(element).click(function() {
$(this).fadeOut(500, function() { $(this).remove(); });
});
You’re using the remove()
function wrongly.
$(element).click(function() {
$(this).fadeOut(500, function() { $(this).remove(); });
});