javascript event propertyName

propertyNameNN n/a IE 5(Win) DOM n/a

Read/Write

Returns a string containing the name of the object property that changed during an onpropertychange event. For other event types, the value is an empty string. If the changed property is a property of a property (e.g., a property of an element's style property), the returned value shows the "dot" version, such as style.color.

 
Example
 
if (evt.propertyName.indexOf("style") == 0) {
    // perform further processing on a changed style
}
 
Value

String property name.

 
Default

Empty string.


773,Nickname,Homepage or email,Comments here,Add comment