asp.net.ph

Skip Navigation Links

ondragover Event


Fires on the target element continuously while the object being dragged is over a valid drop target.

Syntax

Inline <element ondragover = "handler" ... >
Script object.ondragover = handler

Remarks

Bubbles Yes
Cancels Yes
To invoke
  • Drag the selection over a valid drop target within the browser.
  • Drag the selection to a valid drop target within another browser window.
Default action Calls the associated event handler.

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

Event Object Properties

While event handlers in the Document Object Model do not receive parameters directly, the handler can query the event object for data.

Event Object Properties


Applies To

A, ACRONYM, ADDRESS, AREA, B, BDO, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, DD, DEL, DFN, DIR, DIV, DL, document, DT, EM, FIELDSET, FONT, FORM, Hn, HR, HTMLAREA, I, IMG, INPUT, KBD, LABEL, LI, LISTING, MAP, MARQUEE, MENU, NOBR, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TR, TT, U, UL, VAR, XMP

See Also

Data Transfer Overview, ondragstart


Need a break ?
Suggested Reading

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph.

If you have any question, comment or suggestion,
please send us a note