Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <script src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
- </head>
- <body>
- <button type="button" id="click-me">Click Me</button>
- <script type="text/javscript">
- $(document).ready(function() {
- $("#click-me").click(function () {
- alert('You clicked me!');
- });
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement