Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- HTML --
- <div id="your-name" class="layer">
- <code>The game will be starting shortly please enter your name and click next. </code>
- <label>Your Name: <input type="text" name="name" id="name"></label>
- <br><br>
- <a id="player-name" href="#">Next >></a>
- </div>
- -- JQuery --
- $("#player-name a").click(function(event){
- event.preventDefault();
- console.log('here');
- });
Add Comment
Please, Sign In to add comment