dataTransfer.effectAllowed (Property)

Indicates whether the drop effect is allowed or not.


JScript - 5.0
Internet Explorer - 5.0
Property/method value type:Boolean primitive
JavaScript syntax:IEmyDataTRansfer.effectAllowed

You should set this property in the onDragStart event handler.

The following values can be assigned to this property, to control whether the drag drop is allowed to happen:

Assigning values to this property must be done bearing in mind what you have assigned to the dropEffect property as the two work together.

See also:dataTransfer.dropEffect, onDragStart