'); tr.append("
" + decodeEntities(val.TeamName) + " | "); tr.append("" + val.GamesPlayed + " | "); tr.append("" + val.Wins + " | "); tr.append("" + val.Losses + " | "); tr.append("" + val.Ties + " | "); tr.append("" + val.Points + " | "); tr.append("" + val.GF + " | "); tr.append("" + val.GA + " | "); var diff = val.GF - val.GA; tr.append("" + diff + " | "); tr.append("" + val.DIP + " | "); tr.append("" + val.RAR.toFixed(2) + " | "); $('#tblStats580 tbody').append(tr); }); }); $.getJSON('https://api.rampinteractive.com/leaguegame/getstandings3wsdcached/208/10171/798/0/580/0', function (data) { $.each(data, function (key, val) { if (val.SID == 0) { tr = $('
'); tr.append("" + val.SubDivName + " | "); $('#tblStats580 tbody').append(tr); } else { trt = $('
'); trt.append("" + decodeEntities(val.TeamName) + " | "); trt.append("" + val.GamesPlayed + " | "); trt.append("" + val.Wins + " | "); trt.append("" + val.Losses + " | "); trt.append("" + val.Ties + " | "); trt.append("" + val.Points + " | "); trt.append("" + val.GF + " | "); trt.append("" + val.GA + " | "); var diff = val.GF - val.GA; trt.append("" + diff + " | "); $('#tblStats580 tbody').append(trt); } }); }); Canadian Brewhouse Division 2 Canadian Brewhouse Division 3 Canadian Brewhouse Division 4 Canadian Brewhouse Division 5 Canadian Brewhouse Division 6 Tournaments