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
prevValue
Attributions
Mozilla Developer Network : [Mutation Events Article]
Microsoft Developer Network: [Windows Internet Explorer API reference Article]