DOM Client Object Cross-Reference:DOM Events
From MDC
This page has been flagged by editors or users as needing technical review
Until it is fully reviewed, it may contain inaccurate or incorrect information.
[edit] Events
| Event | W3C DOM Level 3[1] | Gecko DOM (FF2)[2] | MSHTML DOM (IE)[3] | Cancel Value ([X]HTML) | |||
|---|---|---|---|---|---|---|---|
| Bubbles | Cancelable | Bubbles | Cancelable | Bubbles | Cancelable | ||
| User interface event types | |||||||
| DOMActivate | yes | yes | ? | ? | yes(?) | no(?) | ? |
| DOMFocusIn | yes | no | ? | ? | - | - | |
| DOMFocusOut | yes | no | ? | ? | - | - | |
| blur | no | no | ? | ? | no | no | |
| focus | no | no | ? | ? | no | no | |
| Text event types | |||||||
| textInput | yes | yes | ? | ? | - | - | ? |
| Mouse event types | |||||||
| click | yes | yes | yes | yes | yes | yes | false |
| mousedown | yes | yes | ? | ? | yes | yes | ? |
| mousemove | yes | yes | ? | ? | yes | no | ? |
| mouseover | yes | yes | ? | yes | yes | yes | true |
| mouseout | yes | yes | ? | yes | yes | no | true |
| mouseup | yes | yes | ? | ? | yes | yes | ? |
| Keyboard event types | |||||||
| keydown | yes | yes | ? | yes | yes | yes | false |
| keyup | yes | yes | ? | yes | yes | no | false |
keypress (proprietary, see textInput) |
- | - | ? | yes | yes | yes | false |
| Mutation and mutation name event types | |||||||
| DOMSubtreeModified | yes | no | ? | ? | - | - | |
| DOMNodeInserted | yes | no | ? | ? | - | - | |
| DOMNodeRemoved | yes | no | ? | ? | - | - | |
| DOMNodeRemovedFromDocument | yes | no | ? | ? | - | - | |
| DOMNodeInsertedIntoDocument | yes | no | ? | ? | - | - | |
| DOMAttrModified | yes | no | ? | ? | - | - | |
| DOMCharacterDataModified | yes | no | ? | ? | - | - | |
| DOMElementNameChanged | yes | no | ? | ? | - | - | |
| DOMAttributeNameChanged | yes | no | ? | ? | - | - | |
| Basic event types | |||||||
| abort | yes | no | ? | ? | no | yes | |
| change | yes | no | ? | ? | no | yes | |
| error | yes | no | ? | yes | no | yes | true |
| load | no | no | ? | ? | no | no | |
| reset | yes | yes | ? | ? | no | yes | ? |
| resize | yes | no | ? | ? | no | no | |
| scroll | yes | no | ? | ? | no | no | |
| select | yes | no | ? | ? | no | yes | |
| submit | yes | yes | ? | yes | no | yes | false |
| unload | no | no | ? | ? | no | no | |
[edit] DOM Objects
[TODO]
[edit] See also
- ^ W3C Document Object Model (DOM) Level 3 Events Specification
- ^ Gecko DOM Reference
- ^ MSDN Library: HTML and DHTML Reference: Events
Original Document Information
- Author: Thomas 'PointedEars' Lahn <dom@PointedEars.de>
- Copyright Information: © 2007 by individual MDC contributors (see history); content available under a Creative Commons license