From dee9e003d3967b9ba5597c0714256b21826409e8 Mon Sep 17 00:00:00 2001 From: kmg Date: Thu, 7 Mar 2024 12:15:55 +0900 Subject: [PATCH] =?UTF-8?q?2024/03/07=20=EC=B4=88=EA=B8=B0=ED=99=94=20?= =?UTF-8?q?=EA=B8=B0=EB=8A=A5=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsp/oprtn/tngrVisitEdu/eduCnfrmMngList.jsp | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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(){