jQuery Tutorial Tutorials - jQuery event.type

jQuery event.type

The event.type property in jQuery refers to the event type like mousemove,click etc.

jQuery event.type property Example

example

Display the event type.

$("button").click(function(event){
    $('#log').append('<p>The event type is: '+ event.type +'</p>');
});

Try now

Date:2019-08-29 18:59:21 From:www.Lautturi.com author:Lautturi