Skip to content

Latest commit

 

History

History

Lesson_4

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Lesson 4 – removing the buttons

The buttons are useful but not necessarily relevant to every user. We would like to hide (but not remove) the buttons and delegate the change of an input to the click of the button.

When JavaScript is active we would like to remove the button from the view but trigger its click action when the input has been changed.

Covered in this lesson

  • event delegation
  • jQuery DOM manipulation

Get to the code

on Codepen