Guest User

Untitled

a guest
Oct 18th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. function flipCard(){
  2. var g = document.getElementById("playingCard").value;
  3. alert(g);
  4. }
  5.  
  6. <body>
  7. <img src="card.png" id="playingCard" value="20" onclick="flipCard()"/>
  8. </body>
Add Comment
Please, Sign In to add comment