function RecruitTerriorialReport_Generate() { $.postWithLoading(CMS_SystemConfig.VirtualDirectoryPath + "/RecruitTerriorialReport/Generate?year=" + $("#YearDropdown").combobox('getValue'), null, reload); } function reload() { var year = $("#YearDropdown").combobox('getValue'); $("#reportContent").attr("src", CMS_SystemConfig.ReportPagePath + "?ReportFolder=%2fStudentManage%2fHighBaseRecruitTerriorialReport&Year_RAP=" + year); } $.parser.onComplete = function (context) { reload(); }