Home › Forums › JavaScript › Drag n Drop delete element › Re: Drag n Drop delete element
December 9, 2011 at 10:03 am
#92337
Member
I can’t give unique IDs as they are dynamically generate with the same class. “this” doesn’t work either, as it deletes #trash – not the div. The element I’m dragging is the one I want to delete.
Imagine one of those drag and drop shopping carts – now imagine the item disappears when dropped – that’s what I want to happen.