How to cancel the draggable event, when ever some html id or class occurs on the page.

How to cancel the draggable event, when ever some html id or class occurs on the page.


Hi Richards,
I don't get any response for my previous doubt from
you. I think you are busy with your work. It is understandable. Now my
problem is, I have div on a page, which contains three div's. Those
are draggable. Now i would like to restrict them with out overlapping
each other. I read your document, there is cancel option, i think it
works only for elements like button,input like wise. In my case is it
work for me? if so, please let me know, how to do this.
<div id="maindiv" class="maindiv">
<div>Drag-1</div>
<div>Drag-2</div>
<div>Drag-3</div>
with Regards
sure.