How do find the id of the button which is being clicked?
This will log the id of the element that's been clicked: addFields.
+