Example #3a: a drop target with dragenter and dragleave event handlers

Try to drag the red box around. This page will tell you if the object is currently dragging, and will log, among other things, dragenter and dragleave events.

Is dragging: no

Event now firing:
Go back to the User Agent Man HTML5 Drag and Drop article

This is a draggable item
This is a "target" object