jQuery 3 Bootstrap 4 Datepicker

2019년 10월 25일

1. jQuery 3 Bootstrap 4 Datepicker

https://stackoverflow.com/questions/49572786/bootstrap-4-datepicker


2. Bootstrap-Datepicker 한글판

https://kkyunstory.tistory.com/128 


<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.7.1/css/bootstrap-datepicker.min.css" rel="stylesheet"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.7.1/js/bootstrap-datepicker.min.js"></script>
<script src="assets/plugins/bootstarp-datepicker.kr.js" charset="UTF-8"></script>


<script type="text/javascript">
   $('#datepicker').datepicker({
      // weekStart: 1,
      daysOfWeekHighlighted: "6,0",
      // autoclose: true,
      // todayHighlight: true,


      // calendarWeeks: false,
      // todayHighlight: true,
      // autoclose: true,
      // format: "yyyy/mm/dd",
      language: "kr"
   });

   // 출처: https://kkyunstory.tistory.com/128 [껸스토리]
</script>
 
댓글은 로그인 사용자만 작성 가능합니다. 로그인하기