Maybe it's because opacity is already 0? Try using animate({ height:'toggle' }) instead
On May 12, 2:16 pm, Massimiliano Marini <m...@linuxtime.it> wrote: > Hi all, > > I'm using jQuery 1.3.2 that's the code: > > function removeChekbox(data){ > $.each(data, function(i, val){ > > $('input[value="'+val+'"]').parents(".item-container").animate({opacity: > 0.0}, "slow", function(){ > $(this).slideUp("slow", function(){ > $(this).remove(); > }); > }); > }); > > } > > the code is correct, the remove() works well, but the slideUp() > does not make the animation. Why?