Return to Video

03-11 jQuery_Event_Listener

  • 0:00 - 0:01
    Let's go in order.
  • 0:01 - 0:05
    First we need to select
    the target using jQuery,
  • 0:05 - 0:08
    then we want to add an event
    listener for the click event.
  • 0:09 - 0:11
    Next when the button is clicked,
  • 0:11 - 0:14
    the call back function needs
    to perform two actions.
  • 0:14 - 0:15
    The first is to remove the button,
  • 0:16 - 0:18
    and the second is to add
    the class to the body element.
  • 0:21 - 0:23
    And now when the button is clicked,
    it disappears, and
  • 0:23 - 0:25
    we'll see a success message.
Tytuł:
03-11 jQuery_Event_Listener
Opis:

more » « less
Video Language:
English
Team:
Udacity
Projekt:
ud245 - Intro to JQuery
Duration:
0:32

English, British subtitles

Revisions Compare revisions