Home / CSE / HTML- CS :: Discussion

Discussion :: HTML- CS

  1. Calling the ______________ method during both a dragenter and dragover event will indicate that a drop is allowed at that location.

  2. A.

     drop

    B.

     drag

    C.

     preventDefault

    D.

     dataTransfer

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    Calling the preventDefault method during both a dragenter and dragover event will indicate that a drop is allowed at that location. However, you will commonly wish to call the preventDefault method only in certain situations, for example, only if a link is being dragged.


Be The First To Comment