I am creating a website, where two div should not overlap each other when dragging them.I have created a jsFiddle file
also the following is the code
$(".butNotHere").draggable({
obstacle: ".butNotHere",
preventCollision: true,
containment: "#moveInHere"
});
I want to have the same class name for both the div Thanks in advance.