a) getCurrentPosition() b) getDirectPosition() c) post() d) getDirection Answer: a Explanation: For getting user’s position we used ...
View Question_____________ and elements in a document may be dragged using the application/x-moz-node type.
a) Dragging HTML and XML b) Dragging Text c) Dragging Nodes d) Dragging Links Answer: c Explanation: ...
View QuestionA listener for the dragenter and dragover events are used to indicate valid drop targets, that is, places where dragged items may be dropped.
a) True b) False Answer: a Explanation: The dragover event is fired as the mouse is moving ...
View Question______________ should include data of two types; the first should be the URL using the type text/uri-list, and the second is the URL using the text/plain type.
a) Dragging HTML and XML b) Dragging Text c) Dragging Files d) Dragging Links Answer: d Explanation: ...
View QuestionWhich of the following property is used to determine which drag operation was desired?
a) dragend b) getData c) dropEffect d) captureData Answer: c Explanation: When the user finishes dragging an ...
View QuestionCalling the ______________ method during both a dragenter and dragover event will indicate that a drop is allowed at that location.
a) drop b) drag c) preventDefault d) dataTransfer Answer: c Explanation: The drop event is fired on ...
View Question_____________ in textboxes and selections on web pages is done automatically, so you do not need to handle dragging yourself.
a) Dragging HTML and XML b) Dragging Text c) Dragging Files d) Dragging Links Answer: b Explanation: ...
View QuestionWhich of the following property is common in all drag events?
a) drag effects b) drag data c) dataTransfer d) dragenter Answer: c Explanation: The feedback given ...
View QuestionThe _________ event is fired on the element where the drop occurred at the end of the drag operation.
a) drag b) drop c) dragstart d) dragenter Answer: b Explanation: The drop event is fired on ...
View QuestionWhich event is fired as the mouse is moving over an element when a drag is occurring?
a) dragover b) dragenter c) dragstart d) dragleave Answer: a ...
View Question