$(function () { $("#selSeason").change(function () { var elem = this; var season = elem.value; if (season != currentSeason) { location.replace("?sID=" + sclassID + "&season=" + season); } }); $("#selRound").change(function () { var elem = this; var round = elem.value; if (round != currentRound) { location.replace("?sID=" + sclassID + "&season=" + currentSeason + "&r=" + round); } }); $("#selKind").change(function () { var elem = this; var kind = elem.value; if (kind != currentKind) { location.replace("?sID=" + sclassID + "&season=" + currentSeason + "&kind=" + kind); } }); $("#selPlayoff").change(function () { var elem = this; var playoff = elem.value; if (playoff != currentPlayoff) { location.replace("?sID=" + sclassID + "&season=" + currentSeason + (typeof currentKind !== "undefined" ? "&kind=" + currentKind : "") + "&pID=" + playoff); } }); $("#selPeriod").change(function () { var elem = this; var period = elem.value; if (period != currentPeriod) { location.replace("?sID=" + sclassID + "&season=" + currentSeason + (typeof currentKind !== "undefined" ? "&kind=" + currentKind : "") + "&m=" + period); } }); $("#selType").change(function () { var elem = this; var type = elem.value; if (type != currentType) { location.replace("?sID=" + sclassID + "&season=" + currentSeason + (typeof currentKind !== "undefined" ? "&kind=" + currentKind : "") + "&type=" + type); } }); $(".infoTab a").each(function (i, elem) { var thisObj = $(elem); var url = thisObj.attr("href"); if (typeof url !== "undefined") { thisObj.attr("href", "javascript:void(0);"); thisObj.click(function () { location.replace(url); }); } }); }); function ToAnaly(mID, state) { if (state == -1) window.location.href = "/live/lq/Analysis/shiJian.html?id=" + mID; else window.location.href = "/live/lq/Analysis/index.html?id=" + mID; }