I had this question after viewing
Using HTML5 and CSS How to place one element in front of another elemen.
This Question is related to a question I previously asked on this forum and which was answered very kindly by Julian Hansen (please see my previous question for details).
I would now like to attach a click event to both these buttons, such that when I click the button in front, the click event of both buttons should fire one after the other. So assuming we display an alert in response to clicking the button which is in front which says ("Button in front clicked") and the button behind click displays an alert ("button behind clicked"), in response to clicking the button in front (green button), I would like to first see and alert saying "button in front clicked", and then when we dismiss this alert the next alert saying "button behind clicked".