This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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

Attributions