Last active
December 18, 2015 08:59
-
-
Save linmx0130/5758172 to your computer and use it in GitHub Desktop.
Create some click events without for...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#Player1").click(function(){setMeToTwo(1);}); | |
$("#Player2").click(function(){setMeToTwo(2);}); | |
$("#Player3").click(function(){setMeToTwo(3);}); | |
$("#Player4").click(function(){setMeToTwo(4);}); | |
//... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment