Okay, I am really stuck here.
I have a table of tr's that have id's: #tr_xx where xx is a number.
item is a number.
The if(... part makes sure that what follows is only executed once at the end of all the animations.
$('#tr_' + item + '>td').fadeOut('slow', function() {
if($('#tr_' + item + '>td:animated').length === 0)
{
$(this).parent().remove();
// This function recolors the rows
// -not really related to this
Recolor();
}
});
The problem is that the tr does not get deleted. It just gets hidden.
How can I delete the <tr> and not just hide it?