Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Drag n Drop delete element Re: Drag n Drop delete element

#92336
sheepysheep60
Participant

It’d be good to see some html. Right now I’d say that last line should be $(this).remove();

Dependant on the divs, my advice would be to give unique id’s to each, if the element you’re deleting is the same element you’re dragging. If the element you’re dragging isn’t the element you’re deleting, you could give linked names. Let’s see some html then I’d love to be more help