7.7 Drag and drop — HTML5 - World Wide Web Consortium (W3C)
To accept a drop, the drop target has to listen to at least three events. First, the dragenter event, which is used to determine whether or not the drop target is to accept the drop. If the drop is to be accepted, then this event has to be canceled. Secon...