2024/03/07 초기화 기능 수정

This commit is contained in:
kmg 2024-03-07 12:15:55 +09:00
parent 36ff427ecd
commit dee9e003d3

View File

@ -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(){