12.5 Drag and Drop with the “draggable” Attribute 285
Figure 12.4 Drag and drop in combination with “FileAPI”
Let’s begin by preparing the drop zone. You can see it on the right in the
screen shot of Figure 12 .4. It consists of the Unicode symbol PREVIOUS PAGE
(⎗), some CSS instructions, and the event listener attributes required for
drag and drop:
<div ondragenter="return false;"
ondragover="return false;"
ondrop="drop(event)">⎗