newValue
Summary
Gets the new value of the attribute or text node.
Property of dom/MutationEventdom/MutationEvent
Syntax
Note: This property is read-only.
var newValue = event.newValue;
Return Value
Returns an object of type StringString
The new value of the attribute or text node, if any.
Notes
This property indicates the new value of an attribute node during a DOMAttrModified event, or the new text in a character node during a DOMCharacterDataModified event.
Related specifications
- DOM Level 2 Events
- Recommendation
See also
Related articles
Deprecated
newValue
Attributions
Mozilla Developer Network
: [Mutation Events Article]Microsoft Developer Network: [Windows Internet Explorer API reference Article]