Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

The property is read-only in Microsoft Internet Explorer 4.0, and read/write in Microsoft Internet Explorer 5 and later.

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

See also

event

 

 

Show:
© 2015 Microsoft