diff --git a/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogList.jsp b/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogList.jsp index c40da26d..7480d294 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogList.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/log/clg/EgovLoginLogList.jsp @@ -86,7 +86,7 @@ function logListExcelDownload(){ document.frm.action = ""; document.frm.submit(); } - +/* function fncReset(thisObj){ var targetObj = $(thisObj).closest('.list_top').find('select,input'); $.each(targetObj, function(){ @@ -103,6 +103,19 @@ function fncReset(thisObj){ } }); } +*/ +function fncReset(thisObj){ + var targetObj = $(thisObj).closest('.list_top').find('select,input'); + $.each(targetObj, function(){ + console.log($(this)) + if ($(this).prop("tagName") == 'SELECT') { + // 초기화 시 무조건 select option 첫번째 지정 + $(this).find("option:first-child").prop("selected",true) + } else { + $(this).val(''); + } + }); + } diff --git a/src/main/webapp/WEB-INF/jsp/sym/log/clg/NSelectWebLogList.jsp b/src/main/webapp/WEB-INF/jsp/sym/log/clg/NSelectWebLogList.jsp index 776b1433..ce554603 100644 --- a/src/main/webapp/WEB-INF/jsp/sym/log/clg/NSelectWebLogList.jsp +++ b/src/main/webapp/WEB-INF/jsp/sym/log/clg/NSelectWebLogList.jsp @@ -86,6 +86,19 @@ function logListExcelDownload(){ document.frm.action = ""; document.frm.submit(); } + +function fncReset(thisObj){ + var targetObj = $(thisObj).closest('.list_top').find('select,input'); + $.each(targetObj, function(){ + console.log($(this)) + if ($(this).prop("tagName") == 'SELECT') { + // 초기화 시 무조건 select option 첫번째 지정 + $(this).find("option:first-child").prop("selected",true) + } else { + $(this).val(''); + } + }); + } 로그인 로그 목록