Version

addTargetElement Method

Notifies the behavior that the following element is a possible drop target, which means that events such as DragEnter, DragLeave, DragMove, and Drop will fire when the mouse enters the element while in a Drag operation.
Syntax
ASP.NET Ajax Javascript (Specification) 
function addTargetElement( 
   element : {DomElement},
   includeChildren : Boolean
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfDragDropBehavior.addTargetElement({DomElement},Boolean);

Parameters

element
The element that should be marked as droppable.
includeChildren
Determines whether the DragEnter and DragLeave events should fire only when the mouse enters the specified target element (false), or for each child element of the specified target element (true).
See Also