This example assigns "ondragstart", "ondragover" and "ondrop" events to the document object.
Drag me!
Drag the text back and forth between the two rectangles.