| initMutationEvent( ) | NN 6 IE n/a DOM 2 |
initMutationEvent("eventType",
bubblesFlag,
cancelableFlag,
relatedNodeRef,
prevValue,
newValue,
attrName,
attrChangeCode)
| |
|
Initializes a newly created event object with a complete set of
property values associated with any mutation event. All parameters
must be present, and must be set to default values (such as
false for Boolean key flags or zero for integer
code numbers) if the values are not significant for the event type.
|
| |
| Parameters |
| |
- String identifier for the event's type:
DOMAttrModified,
DOMCharacterDataModified,
DOMNodeInserted,
DOMNodeInsertedIntoDocument,
DOMNodeRemoved,
DOMNodeRemovedFrom-Document,
DOMSubtreeModified.
- Boolean value (true | false)
determining whether the event's default propagation
behavior is to bubble.
- Boolean value (true | false)
determining whether the event's default action may
be prevented via the preventDefault( ) method.
- Reference to a node associated with the event. Applicable only to
DOMNodeInserted,
DOMNodeRemoved, DOMAttrModified
event types.
- String of previous value for an Attr or
CharacterData node. Applicable only to
DOMAttrModified and
DOMCharacterDataModified event types.
- String of new value for an Attr or
CharacterData node. Applicable only to
DOMAttrModified and
DOMCharacterDataModified event types.
- String of the name of an Attr node. Applicable
only to the DOMAttrModified event type.
- Integer for the code corresponding to the type of change the event
simulates. Applicable only to the DOMAttrModified
event type.
|
| |
| Returned Value |
None.
|