javascript event newValue, prevValue
| newValue, prevValue | NN 6 IE n/a DOM 2 |
| Read-only | |
|
Return a string with the new and previous values (respectively) of data associated with DOMAttrModified and DOMCharacterDataModified event types of the W3C DOM mutation events class. This information could be useful for creating an undo buffer for changes to an element's attribute or the content of a CharacterData node. |
|
| Example | |
undoAttrBuffer = {attrNode:evt.relatedNode, oldVal:evt.prevValue};
|
|
| Value | |
String value. |
|
| Default | |
Empty string. |
|
Previous: javascript event nextPage
767,Nickname,Homepage or email,Comments here,Add comment
