'); tr.append("
" + (val.gameNumber != null ? val.gameNumber : "") + " | "); tr.append("" + val.sDateString + " | "); tr.append("" + (val.RARID != null ? "" + val.ArenaName + "" : val.ArenaName) + (val.notes != "" ? " " + val.notes : "") + " | "); tr.append("" + val.HomeTeamName + " | "); tr.append("" + val.AwayTeamName + " | "); tr.append("" + (val.completed ? val.homeScore + ' - ' + val.awayScore : '') + " | "); if (val.completed) { tr.append(" | "); } else { tr.append(" | "); } $('#tblSchedule tbody').append(tr); }); $("#tblSchedule").tablesorter({ widgets: ['zebra'], headers: { 5: { sorter: false }, 6: { sorter:false} } }).trigger("update"); }); $('#tblSchedule').show(); } else { $('#tblSchedule').hide(); } };