Event information

Event handler parameters

Standards information

There are no standards that apply here.

Remarks

The HTMLInputFileElementEvents2::ondragstart event is the first to fire when the user starts to drag the mouse. It is essential to every drag operation, yet is just one of several source events in the data transfer object model. Source events use the IHTMLDataTransfer::setData method of the dataTransfer object to provide information about data being transferred. Source events include HTMLInputFileElementEvents2::ondragstart, HTMLFrameSiteEvents::ondrag, and HTMLFrameSiteEvents::ondragend.

When dragging anything other than an img object, some text to be dragged must be selected.