From b1622c000d6bdc84f934ae991a119fe2043c89c7 Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 10 Feb 2015 15:35:22 -0800 Subject: [PATCH] Update playCards.js --- js/playCards.js | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/js/playCards.js b/js/playCards.js index a1fce80..05726f5 100644 --- a/js/playCards.js +++ b/js/playCards.js @@ -38,6 +38,41 @@ $(document).ready(function(){ cardDeck.orderBySuit(); cardDeck.spread(); // update card table } + var hand = []; + var showError = function(msg){ + $('#error').html(msg).show(); + setTimeout(function(){ + $('#error').fadeOut('slow'); + },3000); + } + var showHand = function(){ + var el = $('#Homas') + el.html(''); + for(var i=0;i