English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The event.type property returns the type of event that has been triggered.
event.type
Return the triggered event type:
$("p").on("click dblclick mouseover mouseout", function(event){ $("div").text("Event: " + event.type); });Test and see‹/›
Parameter | Description |
---|---|
event | ThiseventThe parameters come from the event binding feature |