The following buttons are created dynamically and events are added using the .on() method.
In this example we are creating the input buttons and then adding the click event for each by identifying the child selector.