jQuery animate help
        Posted  
        
            by U22199
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by U22199
        
        
        
        Published on 2010-05-01T07:39:31Z
        Indexed on 
            2010/05/01
            7:47 UTC
        
        
        Read the original article
        Hit count: 692
        
jQuery
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();
        });
        © Stack Overflow or respective owner