diff --git a/FO/Views/Home/Index.cshtml b/FO/Views/Home/Index.cshtml index c21baed..6ed77ab 100644 --- a/FO/Views/Home/Index.cshtml +++ b/FO/Views/Home/Index.cshtml @@ -314,7 +314,6 @@ $("#stringval7").val($("#sch6").val()); - if ($("#stringval").val() == "0") { if ($("#stringval2").val() == "") { msg("교육유형을 입력하세요."); $("#stringval2").focus(); return; } if ($("#stringval3").val() == "") { msg("기술인분류를 입력하세요."); $("#stringval3").focus(); return; } @@ -328,6 +327,11 @@ if ($("#stringval3").val() == "") { msg("교육선택을 입력하세요."); $("#stringval3").focus(); return; } } + if ($("#msSel2 > span").text() != "품질관리기술인" && $("#sch6").val() == "") { + msg("전문분야을 입력하세요."); $("#stringval2").focus(); return; + } + + $("#indexForm").attr("action", "/Course/SmartSearch").submit(); }); @@ -434,8 +438,12 @@ } } else if ($("#msSel2 > span").text() == "품질관리기술인") { - $("#liedu04").hide(); + $("#msSel6").removeClass("active") + $("#msSel6").addClass("disable") + $("#msSel6 span").text("전문분야") + $("#sch6").val("") + $("#liedu04").hide(); $("#liedu4").hide(); $("[name='typejob']").hide()