Reputation: 67185
I'm learning to use the jQuery UI Draggable Widget. I need to do some special handling in response to the Drag event.
From my Drag event handler, is there a way to get the current drop target--that is, the element that the mouse is currently hovering over?
Upvotes: 1
Views: 2603
Reputation: 3523
You could use the hoverClass attribute in the droppable target and check which drop zone has the hoverClass in the drag event.
It's a little bit hacky but it would work.
Upvotes: 0