javascript event propertyName
@March 15, 2008, 1:22 a.m.
propertyName | Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/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. |
Permanent URL:
http://javascript.gakaa.com/event-propertyname.aspx
Powered by Linode.