M MutationEvent.attrChange (Property) A (Web hosting comparison) cascading effect is

M MutationEvent.attrChange (Property) A cascading effect is very likely with a single DOM tree change causing a number of subsequent mutation events to be fired as lower portions of the tree are affected. The standard does not mandate any particular ordering of these events and leaves it to the implementation to control the sequence. This suggests that the cascaded mutations may occur in a different sequence depending on the browser. You should therefore design your event handler so that it can be called in a re-entrant and random orders and that there should be no dependency on things being traversed in a predictable sequence. DOM, DOM Level 2, DOM Events, Event management, Event model, Event-driven model, EventListener object, EventTarget.addEventListener(), Implementation.hasFeature() See also: Property JavaScript JScript N IE Opera DOM Notes attrChange 1.5 + 6.0 + 2 + ReadOnly attrName 1.5 + 6.0 + 2 + ReadOnly bubbles 1.5 + 6.0 + 2 + - cancelable 1.5 + 6.0 + 2 + - currentTarget 1.5 + 6.0 + 2 + - eventPhase 1.5 + 6.0 + 2 + - newValue 1.5 + 6.0 + 2 + ReadOnly prevValue 1.5 + 6.0 + 2 + ReadOnly relatedNode 1.5 + 6.0 + 2 + ReadOnly target 1.5 + 6.0 + 2 + - timeStamp 1.5 + 6.0 + 2 + - type 1.5 + 6.0 + 2 + - Method JavaScript JScript N IE Opera DOM Notes initEvent() 1.5 + 6.0 + 2 + - initMutationEvent() 1.5 + 6.0 + 2 + - preventDefault() 1.5 + 6.0 + 2 + - stopPropagation() 1.5 + 6.0 + 2 + - MutationEvent.attrChange (Property) The value in this property describes the kind of change that has taken place when the mutation event was an attribute change. Availability: DOM level 2 JavaScript 1.5 Netscape 6.0 Property/method value type: Number primitive JavaScript syntax: N myMutationEvent.attrChange 1473

Leave a Reply