Events
Event functions
Single event type
$(".team-cards").on("click", function () {
// do something on click
});Multiple event types
$(".team-cards").on("click mouseenter", function () {
// do something on click or mouseenter
});Delegated event handler
$(document).on("click", ".team-cards", function () {
// do something
});$(this)
Event types
Mouse Events
Keyboard Events
Form Events
Document/Window Events
Clipboard Events
Focus Events
Touch Events (for mobile)
Drag and Drop Events
Media Events
Animation Events
Transition Events
Event info

Once we know which event info we want to use, we can use it inside our function like this.
Removing events
Removes all events that were attached to the element
Removes only a certain event type that was attached to the element
Last updated