Javascript Reference
Categories: event

javascript event type

@March 15, 2008, 1:22 a.m.
typeFirefox/Netscape/NN 4 IE 4 Chrome/Safari/DOM 2

Read-only

Indicates the type of the current event (without the "on" prefix). Values are all lowercase.

 
Example
 
if (evt.type == "change") {
    ...
}
 
Value

Any event name (without the "on" prefix) as a string.

 
Default

None.


Powered by Linode.