Javascript Events

Event object

  • currentTarget: the element that has the handler attached that is currently running

  • target: the element that received the event initially