SHARE
TWEET

Untitled

a guest Apr 19th, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $('#c0').click(function() { revealCard(0); });
  2. $('#c1').click(function() { revealCard(1); });
  3. $('#c2').click(function() { revealCard(2); });
  4. $('#c3').click(function() { revealCard(3); });
  5. $('#c4').click(function() { revealCard(4); });
  6. $('#c5').click(function() { revealCard(5); });
  7. $('#c6').click(function() { revealCard(6); });
  8. $('#c7').click(function() { revealCard(7); });
  9. $('#c8').click(function() { revealCard(8); });
  10. $('#c9').click(function() { revealCard(9); });
  11. $('#c10').click(function() { revealCard(10); });
  12. $('#c11').click(function() { revealCard(11); });
  13.  
  14. for(var i=; i<12; i++){
  15.  $('c'+i).click(function() { revealCard(i); });
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top