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.

prevValue

Summary

Gets the previous value of the attribute or text node.

Property of dom/MutationEventdom/MutationEvent

Syntax

Note: This property is read-only.

var previousValue = event.prevValue;

Return Value

Returns an object of type StringString

The previous value of the attribute or text node.

Notes

This property indicates the previous value of an attribute node during a DOMAttrModified event, or the previous text in a character node during a DOMCharacterDataModified event.

Related specifications

DOM Level 2 Events
Recommendation

See also

Related articles

Deprecated

Attributions