davidjruyle/fifa-madness — pull request #3 by brendancwood (2014-04-30 05:56:02+00:00)
Title: Got clickable winners working!

Now to see how we can template this so that we don't write 50 groupAGame2,3,4,100 functions. Super excited! My google foo was obviously bad today in class as I found this easily and now understand a lot more about how this works which is how my mind thought it should work in the first place, I just wasn't accessing the object of the click event. You can access everything from any type of event like this, its pretty crazy. Here's the fiddle that I found that got it working for me: http://jsfiddle.net/brettdewoody/FAeJq/