2024/07/22 select value 값 추가

This commit is contained in:
subsub 2024-07-22 18:37:18 +09:00
parent 7005cf72f9
commit a1e57f7c91

View File

@ -270,13 +270,13 @@ $(document).ready(function(){
$('[data-info="${vEEduChasiVO.prcsAplctPrdOrd}"][data-tooltip="sub36_pop02"]').focus();
});
setTimeout(function(){
/* setTimeout(function(){
$('#dBirth .duet-date__input').attr("title","ex)1973.12.23 생년월일을 선택하세요.");
$('.calendar_wrap').each(function(){
//$(this).find('.duet-date__input').attr('onkeydown','this.value=dateSettingHere(this.value);');
$(this).find('.duet-date__input').attr('onblur','this.value=dateSettingHere(this.value);');
});
},10)
},10) */
})
</script>
<!-- 일정 상세 -->
@ -321,6 +321,7 @@ $(document).ready(function(){
<th scope=“row”>생년월일 8자리 (ex.1988.01.01)</th>
<td>
<div class="calendar_wrap">
<input type="hidden" value="" id="dBirth"/>
<select name="" id="year" class="selType1">
<option value="1997">1997</option>
<option value="1973">1973</option>
@ -373,6 +374,17 @@ $(document).ready(function(){
<option value="31">31</option>
</select>&ensp;일 &ensp;
<script>
$(function(){
$(".calendar_wrap select").change(function(){
var year = $("#year").val();
var month = $("#month").val();
var day = $("#day").val();
$("#dBirth").val(year+"."+month+"."+day);
})
})
</script>
<!-- <duet-date-picker identifier="date" id="dBirth" class="dBirth" min="1940-01-01"></duet-date-picker>
<script>