Greetings! I'm somewhat of a jquery noob, so please be kind . . .
I have a page where a user can drag options into a box and order them as they see fit. It's NDA for a client, unfortunately, but it's more or less built exactly on the brilliantly simple code stickman posted at: http://the-stickman.com/files/jquery...-sortable.html
Which is great, but what if I want the user to be able to REMOVE an item from the box, just drag it out into the ether and have it disappear? It can still be dragged in from the initial lists, of course, but to remove it from the box with the same "dragging" interface seems natural -- only I can't see how to do it. Any ideas?
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Thanked 637 Times in 625 Posts
I haven't done much with drag/drop (just a little experimentation) but it seems to me you can assign the outer div as a droppable object with a callback function that removes the object being dropped on it. Worth a shot...