onDrag (Event handler)

Called when a Drag is activated by the user.

Availability:

JScript - 5.0
Internet Explorer - 5.0
JavaScript syntax:IEmyObject.ondrag = aHandler

Drag and drop code is notoriously non-portable and hard to manage. This family of event triggers greatly facilitate that process although they are not widely supported on all browsers.

See also:Event, Event handler, Event model, Event names, Event object, Event.returnValue, Handler, onDragDrop, onDragEnd, onDragEnter, onDragLeave, onDragOver, onDragStart, onDrop, Semantic event