I have a problem with jQuery Drag & Drop. I have a drag element and a lot of dropTarget, so I just want to know when I drag, my drag element - what is the element above?
Btw, Firefox provides an event.originalTarget that points to a DOM element, but it is "undefined" in Google Chrome.
Any suggestion?
Thank.
View the overevent in your droppables.
over
$('#droppableid').droppable({ over: function(event, ui) { log('You are over item with id ' + this.id); } });
An example is here .