Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).on('click', '.round', function() {
- var score = 0;
- score++;
- $('#result').html(score);
- this.remove();
- });
- $(document).on('click', '.round', function() {
- var score = 0;
- ^^^^^^^^^^^^^^
- score++;
- $('#result').html(score);
- this.remove();
- });
- var score = 0;
- $(document).on('click', '.round', function() {
- score++;
- $('#result').html(score);
- this.remove();
- });
Add Comment
Please, Sign In to add comment