MutationEvent.attrName (Property)

The name of a node attribute that has changed for a DOMAttrChange event.


DOM level - 2
JavaScript - 1.5
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:NmyMutationEvent.attrName

This is a string value containing the name of an attribute that has been changed. The old and new values are available in the prevValue and newValue properties of the MutationEvent if you need to inspect them.

See also:Attribute object, MutationEvent.newValue, MutationEvent.prevValue, Node.attributes[]

Property attributes: