A simpler solution based on Simen's demo: http://jsfiddle.net/UBG9n/927
There is no need for reference to the tr
we have dragged, because jQueryUI offers ui.draggable
and ui.helper
which we can use to clean up dragged element and a helper:
$(ui.draggable).remove();
$(ui.helper).remove();`