TrainingClassGen.js 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. $(function () {
  2. mnu = $.SystemGeneral.getUrlParam("MNU");
  3. })
  4. function schoolyearChange() {
  5. try {
  6. var examinationBatchUrl = CMS_SystemConfig.VirtualDirectoryPath + '/ExaminationBatch/DropDownList?bindType=0';
  7. var schoolyearID = $("#SchoolyearID").combobox('getValue');
  8. if (schoolyearID != nonSelect) {
  9. examinationBatchUrl += "&schoolyearID=" + schoolyearID;
  10. }
  11. $("#ExaminationBatchID").combobox('reload', examinationBatchUrl);
  12. } catch (e) {
  13. }
  14. }
  15. function examinationBatchChange() {
  16. try {
  17. var examinationProjectUrl = CMS_SystemConfig.VirtualDirectoryPath + '/ExamBatchProject/DropDownList?bindType=0';
  18. var examinationBatchID = $("#ExaminationBatchID").combobox('getValue');
  19. if (examinationBatchID != nonSelect) {
  20. examinationProjectUrl += "&examinationBatchID=" + examinationBatchID;
  21. }
  22. $("#ExaminationProjectID").combobox('reload', examinationProjectUrl);
  23. } catch (e) {
  24. }
  25. }
  26. function TrainingClass_Generate() {
  27. $(document.forms[0]).submit();
  28. }