Javascript Reference
Categories: ondragenter

javascript ondragenter Description

@Aug. 17, 2009, 9:02 a.m.
ondragenter, ondragleave, ondragover Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/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 for an example of drag-related event interaction.

Typical Targets

All rendered elements and document object.

lipitor 40mg tablet <a href="">order lipitor 10mg without prescription</a> order lipitor 80mg without prescription
Ouyrjj - 4 months
atorvastatin 20mg pill <a href="">purchase lipitor online cheap</a> atorvastatin 20mg canada
Glqejo - 4 months

Powered by Linode.