Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

2.2.2 [DOM Level 2 - Events] Section 1.6.4, Mutation event types

V0103:

The specification states:

DOMSubtreeModified
This is a general event for notification of all changes to the document. It can be used instead of the more specific events listed below. It may be fired after a single modification to the document or, at the implementation's discretion, after multiple changes have occurred. The latter use should generally be used to accomodate multiple changes which occur either simultaneously or in rapid succession. The target of this event is the lowest common parent of the changes which have taken place. This event is dispatched after any other events caused by the mutation have fired. 

Bubbles: Yes
Cancelable: No
Context Info: None

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

The DOMSubtreeModified event is not supported.

IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

The DOMSubtreeModified event does not fire when appending text nodes with the appendChild method. For example, elm.appendChild(document.createTextNode("abc")); does not cause the event to fire.

V0109:

The specification states:

DOMCharacterDataModified
Fired after CharacterData within a node has been modified but the node itself has not been inserted or deleted. This event is also triggered by modifications to PI elements. The target of this event is the CharacterData node. 

Bubbles: Yes
Cancelable: No
Context Info: prevValue, newValue

All Document Modes (All Versions)

The DOMCharacterDataModified event is not supported.

IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

The DOMCharacterDataModified event does not fire when appending text nodes with the appendChild method. For example, elm.appendChild(document.createTextNode("abc")); does not cause the event to fire.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.