I\'m trying to figure out the logic of how to do this.
I have many images with only a CSS class name, they are created dynamically.
These images are draggabl
Better to use drop in stead of over
$(function() { $(".stack").draggable(); $('#trash').droppable({ drop: function(event, ui) { $(ui.draggable).remove(); } }); });