javascript event attrChange
| attrChange | NN 6 IE n/a DOM 2 | |||||||||||
|
|
Read-only | |||||||||||
|
Returns an integer code corresponding to the type of change made to an Attr node as the result of a DOMAttrModified event type of W3C DOM mutation event. Every mutation event object has three constants that also correspond to the integer values, which you can use to make more verbose, but easier-to-read script comparisons for DOMAttrModified event processing. The values and constants are shown in the following table. |
||||||||||||
|
||||||||||||
| Example | ||||||||||||
if (evt.attrChange == evt.MODIFICATION) {
// do post-processing of attribute value change
}
|
||||||||||||
| Value | ||||||||||||
|
Integer value: 1 | 2 | 3. |
||||||||||||
| Default | ||||||||||||
|
None. |
||||||||||||
Previous: javascript event attrName
Next: javascript event altLeft
743,Nickname,Homepage or email,Comments here,Add comment
