ondragenter event for div (HTML4 & HTML5)

Fires when the element has another object dragged onto it that can be dropped on the element.

Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 4.0opera 5.0

Browser Support

Examples having uses of html event 'ondragenter'

1 votes
10k views

HTML5 Drag and Drop

Now HTML 5 came up with a Drag and Drop (DnD) API that brings native DnD support to the browser making it much easier to code up. HTML 5 DnD is supported by all the major browsers like Chrome, Firefox 3.5 and Safari.