'); tr.append("
" + decodeEntities(val.TeamName) + " | "); tr.append("" + val.GamesPlayed + " | "); tr.append("" + val.Wins + " | "); tr.append("" + val.Losses + " | "); tr.append("" + val.Ties + " | "); tr.append("" + val.GF + " | "); tr.append("" + val.GA + " | "); var diff = val.GF - val.GA; tr.append("" + diff + " | "); tr.append("" + val.PIM + " | "); tr.append("" + val.PointsPercentage.toFixed(2) + " | "); $('#tblStats19052 tbody').append(tr); }); }); $.getJSON('https://api.rampinteractive.com/leaguegame/getstandings3wsdcached/2803/11046/7736/0/19052/0', function (data) { $.each(data, function (key, val) { if (val.SID == 0) { tr = $('
'); tr.append("" + val.SubDivName + " | "); $('#tblStats19052 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.GF + " | "); trt.append("" + val.GA + " | "); var diff = val.GF - val.GA; trt.append("" + diff + " | "); trt.append("" + val.PIM + " | "); trt.append("" + val.PointsPercentage.toFixed(2) + " | "); $('#tblStats19052 tbody').append(trt); } }); }); U11 Yellow U13 Tier 1 U13 Tier 2 U15 Tier 1 U15 Tier 2 U18 Tier 1 U18 Tier 2