event.type
Describes the nature of the event.
.event.type()🡢 String
On all anchor clicks, alert the event type.
HTML
$("a").click(function (event) {
alert(event.type); // "click"
});
DEMO