Sets or retrieves the event name from the event object. For the later standards based property, see type.
the event name.
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
Events are returned without the "on" prefix. For example, the onclick event is returned as "click".
Build date: 11/14/2012