<input type="date" id="reserDay" name="reserDay" min="오늘" max="7일 후">

html

달력에 오늘날짜 부터 7일뒤 까지 표시하고 싶은데 어케함...


스크릷트 안에

document.getElementById('reserDay').valueAsDate= new Date(); 이거 쓰니깐


시작날짜는 오늘날짜로 되긴하는데 max 저걸 바꿀 방법을 모르겟어 ....


getattribute로 접근해야대나 요 ..  .? ㅠㅠ