Submit.js 616 B

12345678910111213141516171819202122
  1. var inputData;
  2. function QueryCollegeDropdownList(data) {
  3. if (((data.length && data.length > 0) || data)) {
  4. inputData = top.$("#" + windowID).data("inputData");
  5. $("#CollegeDropdown").combobox("setValue", inputData.collegeID);
  6. }
  7. }
  8. function EducationScheduling_SubmitConfirm() {
  9. $(document.forms[0]).submit();
  10. }
  11. function FormSuccess(data) {
  12. $('a').removeAttr('disabled', 'disabled');
  13. $('#loading').hide();
  14. $.messager.alert('系统信息', data.Message, null, function () {
  15. if (data.IsSuccess) {
  16. top.$("#" + windowID).window('close');
  17. }
  18. });
  19. }