prevValue property

Gets the previous value of the attribute or text node.

Document Object Model (DOM) Level 3 Events Specification, Section 5.2.8Internet Explorer 9

 

Syntax

JavaScript

p = object.prevValue

 

Property values

Type: String

The previous value.

Standards information

Remarks

The prevValue 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.

See also

MutationEvent
newValue

 

 

Show: