Advertisement
connecteddeveloper

Event Handler A

Oct 30th, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.14 KB | None | 0 0
  1. <button onClick="someFunction(this)">Click Me</button>
  2. <script>
  3. function someFunction(button) {  alert("You clicked the button!");  }
  4. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement