Document: drop event

The drop event is fired when an element or text selection is dropped on a valid drop target.

Bubbles Yes
Cancelable Yes
Default action Varies
Interface DragEvent
Event handler property ondrop

Examples

See the drag event for example code or this JSFiddle demo.

Specifications

Specification
HTML Standard (HTML)
# event-dnd-drop

Browser compatibility

BCD tables only load in the browser

See also