jQuery animate help
- by U22199
This isn't working. I'm trying to replicate the animate to red and then remove effect as in the WordPress admin. The element gets removed, but it doesn't animate before that.
$('.delete-item').live('click', function(){
$(this).parent().parent().animate({backgroundColor: '#ff0000'}, 'slow').empty().remove();
});