diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduAplctMngList.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduAplctMngList.jsp index 27768358..57bbae99 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduAplctMngList.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduAplctMngList.jsp @@ -81,7 +81,8 @@ listForm.submit(); } - function fncReset(thisObj){ + // 종료일 캘린더까지 초기화가 안됨 + /*function fncReset(thisObj){ var targetObj = $(thisObj).closest('.list_top').find('select,input'); $.each(targetObj, function(){ if($(this).prop('tagName') == 'SELECT'){ @@ -98,8 +99,20 @@ $(this).val(''); } }); - } - + }*/ + + // 캘린더 및 체크박스까지 초기화 가능 + function fncReset(thisObj){ + var targetObj = $(thisObj).closest('.list_top').find('select,input'); + $.each(targetObj, function(){ + if ($(this).attr('type') == 'checkbox') { + $(this).prop('checked',false); + } else { + $(this).val(''); + } + }); + } + //체크박스 전체 선택 function chkAll(thisObj){ $("input[name=chk]").prop("checked" , $(thisObj).is(":checked")); diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduAplctMngTrgtList.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduAplctMngTrgtList.jsp index 8d3f0dde..ce8de0f9 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduAplctMngTrgtList.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduAplctMngTrgtList.jsp @@ -83,7 +83,8 @@ listForm.submit(); } - function fncReset(thisObj){ + // 종료일 캘린더까지 초기화가 안됨 + /*function fncReset(thisObj){ var targetObj = $(thisObj).closest('.list_top').find('select,input'); $.each(targetObj, function(){ if($(this).prop('tagName') == 'SELECT'){ @@ -100,7 +101,19 @@ $(this).val(''); } }); - } + }*/ + + // 캘린더 및 체크박스까지 초기화 가능 + function fncReset(thisObj){ + var targetObj = $(thisObj).closest('.list_top').find('select,input'); + $.each(targetObj, function(){ + if ($(this).attr('type') == 'checkbox') { + $(this).prop('checked',false); + } else { + $(this).val(''); + } + }); + } //체크박스 전체 선택 function chkAll(thisObj){ diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduCnfrmMngList.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduCnfrmMngList.jsp index 8ef08e49..e07adcc3 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduCnfrmMngList.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/eduCnfrmMngList.jsp @@ -307,7 +307,7 @@ } }); } - function fncReset(thisObj){ + /*function fncReset(thisObj){ var targetObj = $(thisObj).closest('.list_top').find('select,input'); $.each(targetObj, function(){ if($(this).prop('tagName') == 'SELECT'){ @@ -322,7 +322,19 @@ $(this).val(''); } }); - } + }*/ + + // 캘린더 및 체크박스까지 초기화 가능 + function fncReset(thisObj){ + var targetObj = $(thisObj).closest('.list_top').find('select,input'); + $.each(targetObj, function(){ + if ($(this).attr('type') == 'checkbox') { + $(this).prop('checked',false); + } else { + $(this).val(''); + } + }); + } /* function fncInstrMassAsgnm(){ diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrAplctMngList.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrAplctMngList.jsp index 2d10e2e2..7edc7ec8 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrAplctMngList.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrAplctMngList.jsp @@ -81,8 +81,8 @@ listForm.action = ""; listForm.submit(); } - - function fncReset(thisObj){ + // 종료일 캘린더까지 초기화가 안됨 + /*function fncReset(thisObj){ var targetObj = $(thisObj).closest('.list_top').find('select,input'); $.each(targetObj, function(){ if($(this).prop('tagName') == 'SELECT'){ @@ -97,7 +97,19 @@ $(this).val(''); } }); - } + }*/ + + // 캘린더 및 체크박스까지 초기화 가능 + function fncReset(thisObj){ + var targetObj = $(thisObj).closest('.list_top').find('select,input'); + $.each(targetObj, function(){ + if ($(this).attr('type') == 'checkbox') { + $(this).prop('checked',false); + } else { + $(this).val(''); + } + }); + } function excelDownLoad(){ var listForm = document.listForm ; diff --git a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrMngList.jsp b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrMngList.jsp index 7113f513..f3219ea9 100644 --- a/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrMngList.jsp +++ b/src/main/webapp/WEB-INF/jsp/oprtn/tngrVisitEdu/instrMngList.jsp @@ -79,8 +79,8 @@ // commonPopWindowopenForm("/ve/oprtn/instr/tngrVisitEdu/popup/instrInfo/instrMdfyRqstPopup.do", "900", "700", "instrMdfyRqstPopup", $('#listForm')); event.stopImmediatePropagation(); } - - function fncReset(thisObj){ + // 종료일 캘린더까지 초기화가 안됨 + /*function fncReset(thisObj){ var targetObj = $(thisObj).closest('.list_top').find('select,input'); $.each(targetObj, function(){ if($(this).prop('tagName') == 'SELECT'){ @@ -95,7 +95,20 @@ $(this).val(''); } }); - } + }*/ + + // 캘린더 및 체크박스까지 초기화 가능 + function fncReset(thisObj){ + var targetObj = $(thisObj).closest('.list_top').find('select,input'); + $.each(targetObj, function(){ + if ($(this).attr('type') == 'checkbox') { + $(this).prop('checked',false); + } else { + $(this).val(''); + } + }); + } + 강사신청 관리