Windows Dev Center

type property

Sets or retrieves the event name from the event object. For the later standards based property, see type.

Syntax

JavaScript

p = object.type

Property values

Type: String

the event name.

Standards information

Remarks

Events are returned without the "on" prefix. For example, the onclick event is returned as "click".

See also

event

 

 

Send comments about this topic to Microsoft

Build date: 11/14/2012

Show:
© 2015 Microsoft