'); 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.PointsPercentage.toFixed(2) + " | "); $('#tblStats1601 tbody').append(tr); }); }); $.getJSON('https://api.rampinteractive.com/leaguegame/getstandings3wsdcached/199/10459/0/0/1601/0', function (data) { $.each(data, function (key, val) { if (val.SID == 0) { tr = $('
'); tr.append("" + val.SubDivName + " | "); $('#tblStats1601 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.PointsPercentage.toFixed(2) + " | "); $('#tblStats1601 tbody').append(trt); } }); }); U13 Division U15 Division U18 Division Sask Female Hockey League Sask AA Hockey League