ondragenter, ondragleave, ondragover | NN n/a IE 5(Win) DOM n/a
| Bubbles: Yes; Cancelable: Yes
Elements in the path of a drag action usually receive ondragenter, ondragover, and ondragleave events in that order. The speed of the drag action and client system impact the number of event firings of all drag types. A fast drag on a slow machine may result in some events not firing.
If your scripts will be performing customized actions upon the user dropping the dragged item onto a target in the document, you should prevent default actions of the ondragenter and ondragover events so that the target's ondrop event can do its job without interference from the normal system response to dragging. See the dataTransfer object in Chapter 9 for an example of drag-related event interaction.
Typical Targets
All rendered elements and document object.