Hello.

I have been working on Drag and drop functionality from 5 days but couldnt find a solution for that. I know that there are three javascript functions dragmousemove, dragmousedown and dragmouseup.
Consider the following example to understand my problem.
I have a Main.jsp which inlcudes X.jsp and Y.jsp in it. Basically these 3 jsp's share a single html page. Now i want to drag and drop a element only in X.jsp and not Y.jsp. Then how should i tell the Java script that i only want to drag drop here in X and not in Y. Where do u differentiate between X and Y.

Thanks in Advance
Adi