This is my requirement,
dragItem
to drag and Drop.Outer
and inner
The problem I get is when the second time I drag and drop into inner Div, the outer droppable code is getting invoked first and then getting into the inner droppable, as the inner div is inside outer Div.
A similar one I tried Is attached. check fiddle
So how to rectify this? I need to enable the droppable wherever I drop Item even though it is in multilayered Divs. How to achieve this?
--Thanks In Advance
jQuery ui droppable
supports an option called greedy: true
which will stop the event propagation.
Check this fiddle