Run »
<html> <body> <p>This example uses the addEventListener() method to attach a click event to a button.</p> <button id="myBtn">Try it</button> <p id="demo"></p> </body> </html>
×
Report a Problem:
Your E-mail:
Page address:
Description:
Submit