I have a table where every cell in the tbody is a droppable target. In the cells are various draggable divs.
Say a user drags a div around but ends up dropping it back where it started. How can I return false on my 'drop'
function if the target is the same as the origin? I.e., how can I determine that the target is the same as the origin? I've been looking for two days and haven't found an answer to this.
EDITED: originally said 'destination' where I meant 'origin'.