tags:

views:

78

answers:

1

Hi All,

I am dragging and dropping elements using jquery. I have two div's div a and div b and divc. I am dropping div a and div b over div c But when i drop div a over div c then it says it has been dropped on div c. How can i find out that div a has been dropped o div b.

A: 

I would like to suggest to use jQuery UI Draggable and Droppable. I don't know what you trying to do. But you should split Draggable items to Drappable containers.

This question might help you a bit.

How to swap element with jQuery UI draggable and droppable?

Ei Maung