jquery fade, remove, then next step
I have a table and i am wanting to 
fade the row out, then remove it (which is working fine)

after it is remove, i am summing up all the columns and updating the total
that bit isn't working. it is summing up before the row is removed

how do i make this run synchronisly ?

    $("#tr_invoice_" + id).fadeOut("slow", function() { 
      $("#tr_invoice_" + id).remove();  	
      tot = $("[name^=amount]").sum(); 
      confirm("got tot: " + tot);							
    });

	
jquery fade, remove, then next step
===

I have a table and i am wanting to 
fade the row out, then remove it (which is working fine)

after it is remove, i am summing up all the columns and updating the total
that bit isn't working. it is summing up before the row is removed

how do i make this run synchronisly ?

    $("#tr_invoice_" + id).fadeOut("slow", function() { 
      $("#tr_invoice_" + id).remove();  	
      tot = $("[name^=amount]").sum(); 
      confirm("got tot: " + tot);							
    });

	