Skip to content

Instantly share code, notes, and snippets.

@linmx0130
Created June 11, 2013 15:47
Show Gist options
  • Select an option

  • Save linmx0130/5758015 to your computer and use it in GitHub Desktop.

Select an option

Save linmx0130/5758015 to your computer and use it in GitHub Desktop.
Create click event with for (Wrong version 2)
for (var i=1 ;i<=8;i+=1)
{
$("#Player"+i).click(setMeToTwo(i););
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment