MutationEvent : Event
Return to: HTML DOM Level 2 index

Provides information about a mutation event.

Platform Support

IE Mozilla Netscape Opera Safari
no 1.0+ 6.0+ 7.0+ 1.0+

Constructors

Constructor Action IE Mozilla Netscape Opera Safari
MutationEvent Constructor() : MutationEvent
Provides information about a mutation event.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+

MutationEvent() : MutationEvent

Provides information about a mutation event.

Returns
MutationEvent

Visibility
internal

Properties

Property Action IE Mozilla Netscape Opera Safari
attrChange : Number
Specifies how an attribute was modified. See remarks for possible values. See remarks for possible values.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+
Remarks
Possible values are: 1 = MODIFICATION event (Attr node was modified), 2 = ADDITION event (Attr node was added), 3 = REMOVAL event (Attr node was removed).
Availability

HTML DOM Level 2|W3C

attrName : String
Name of the attribute that was modified.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+
Availability

HTML DOM Level 2|W3C

newValue : String
New value of the attribute.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+
Availability

HTML DOM Level 2|W3C

prevValue : String
Previous value of the attribute.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+
Availability

HTML DOM Level 2|W3C

Associated node for attribute modification events, or the parent node of an inserted or deleted node.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+
Availability

HTML DOM Level 2|W3C

Functions

Method Action IE Mozilla Netscape Opera Safari
Sets the initial property values for a new MutationEvent object.
Show Details no 1.0+ 6.0+ 7.0+ 1.0+

Returns
void

Availability

HTML DOM Level 2|W3C

Availability

HTML DOM Level 2|W3C

text_javascript aptana_docs