Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
This example uses the addEventListener() method to add two click events to the same button.
Try it