Tim Bellinghausen wrote: > Hi, > > for an project of mine I also needed an trash. I solved this with using > an <ul> as the trash and made it also an sortable and set the > "containment" property for the sortables. With this it is possible to > drag my items to the trash and if done so, the "onUpdate" function sets > the "display" property to none.
What I've done in the past is to make the trash can a Droppable, and then in the onDrop callback, hide the draggable being dropped, as well as call it's destroy() method. -- Michael Peters Developer Plus Three, LP _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs