'); 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 + " | "); $('#tblStats9326 tbody').append(tr); }); }); $.getJSON('https://api.rampinteractive.com/leaguegame/getstandings3wsdcached/1646/10228/8598/0/9326/0', function (data) { $.each(data, function (key, val) { if (val.SID == 0) { tr = $('
'); tr.append("" + val.SubDivName + " | "); $('#tblStats9326 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 + " | "); $('#tblStats9326 tbody').append(trt); } }); }); Mini House U11 Boys U11 Girls U13 Boys U13 Girls U15 Boys U15 Girls U18 Boys