Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ondragover event

Fires on the target element continuously while the user drags the object over a valid drop target.

Syntax

HTML Attribute <element ondragover = "handler(event)">
Event Property object.ondragover = handler;
attachEvent Method object.attachEvent("ondragover", handler)
addEventListener Method object.addEventListener("dragover", handler, useCapture)

Event information

SynchronousNo
BubblesYes
CancelableYes

Event handler parameters

pEvtObj [in]

Type: IHTMLEventObj

Standards information

There are no standards that apply here.

Remarks

The HTMLStyleElementEvents2::ondragover event fires on the target object after the HTMLStyleElementEvents2::ondragenter event has fired.

When scripting custom functionality, use the IHTMLDialog::returnValue property to disable the default action.

Calls the associated event handler.

To invoke this event, do one of the following:

  • Drag the selection over a valid drop target within the client.
  • Drag the selection to a valid drop target within another window.

See also

About DHTML Data Transfer

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.