event.type

event.type ( ) Returns: Stringversion added: 1.0

Description: Describes the nature of the event.

Examples:

Example: On all anchor clicks, alert the event type.

$( "a" ).click(function( event ) {
  alert( event.type ); // "click"
});