Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="pt-BR">
- <head>
- <meta charset="UTF-8">
- <script type="text/javascript" <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
- <link rel="stylesheet" href="evil.css">
- </head>
- <body>
- <div id="newWord">
- <form>
- <h5> Veja com o f12</h5>
- <input type="text" placeholder="New Hashtag">
- </form>
- </div>
- </body>
- <script>
- $(document).ready(function() {
- $("input").keyup(function(e) {
- var currentInput = $(this).val();
- console.log(currentInput);
- if (e.keyCode == 13){
- console.log('hello');
- }
- });
- })
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement