adplus-dvertising
frame-decoration

Question

Calling 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

Posted under HTML

Answer: (c).preventDefault

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

Q. Which of the following property is used to determine which drag operation was desired?

Q. _____________ 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.

Q. A listener for the dragenter and dragover events are used to indicate valid drop targets, that is, places where dragged items may be dropped.

Q. _____________ and elements in a document may be dragged using the application/x-moz-node type.

Q. Which method is used to get user’s position?

Q. What does showPosition() returns?

Q. What does getCurrentPosition() returns?

Q. Which of the following technique is not for the mobile browser to identify the location of a user?

Q. Success callback function evoke only when ___________

Q. What timestamp property denotes?

Q. Which of the following is not the property of ‘cords’ object?

Q. Which parameter gives an accuracy of longitude and latitude?

Q. Which of the following property does not has always a return?

Q. Which property is like the GPS in car?

Q. Which is not the case of invoking for error callback function?

Q. What is the default value of timeout?

Q. maximumAge returns time in _____________

Q. Attributes usually come in name/value pairs forms like:

Q. Which attribute is used to declare language in HTML document?

Q. "src" attribute for an image specifies what?