Common Events

  • click - Fired when the user clicks on an element. Does not need to be a button
  • change - Fired after a user changes an input field and moves to something else
  • input - Fired each time a user updates an input. Fires immediately
  • submit - Fired when a user submits a form. Dependent on HTML structure but gives nice UI

11 / 17