Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <button onClick="someFunction(this)">Click Me</button>
- <script>
- function someFunction(button) { alert("You clicked the button!"); }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement