12345678910111213141516171819202122232425262728 |
- function validChoose() {
- var d = [];
- $.each($("#dgFacultymajorList").cmsXDataTable("getSelections"), function (index) {
- d.push(this.FacultymajorID);
- });
- return d;
- }
- function ExaminationSubjectCollegeControl_Save() {
- var selectFacultymajorID = validChoose().join(',');
- $("#selectFacultymajorIDs").val(selectFacultymajorID);
- $(document.forms[0]).submit();
- }
- function BindSubject() {
- var jsonString = "";
- var parameterString = "";
- var examinationTypeID = $("#ExaminationTypeID").combobox("getValue");
- if (examinationTypeID != nonSelect && examinationTypeID != "") {
- parameterString += "ExaminationTypeDropdown|*|" + examinationTypeID + "|@|";
- }
- if (parameterString != "") {
- jsonString = "({'QueryParamsDatas':'" + parameterString + "'})";
- $("#ExaminationSubjectID").combogridX("reload", eval(jsonString));
- } else {
- $("#ExaminationSubjectID").combogridX("reload");
- }
- }
|