1.

Which of the following property is used to determine which drag operation was desired?(a) dragend(b) getData(c) dropEffect(d) captureDataThis question was addressed to me in unit test.My query is from Drag and Drop topic in section HTML Fonts, Tags and Elements of HTML

Answer»

Correct choice is (c) dropEffect

Explanation: When the user finishes dragging an element, dragend is occurred. During the drop event, you should RETRIEVE that data that was dropped from the event and insert it at the drop location. ONE can USE the dropEffect PROPERTY to determine which DRAG operation was desired.



Discussion

No Comment Found

Related InterviewSolutions