jQuery Events

jQuery Events

  • The jQuery library provides a collection of methods that serve one of two purposes

    • To listen for an event — an event (e.g. clicking a button) is something the user does to trigger an action

    • To add a visual effect — a visual effect (e.g. a drop-down menu appearing when a user clicks a button) is something that changes the appearance of the web page

  • Events are often responsible for triggering a visual effect