32 lines
1.4 KiB
Plaintext
32 lines
1.4 KiB
Plaintext
|
|
@*<link href="/Content/bootstrap-datepicker.css" rel="stylesheet" />
|
||
|
|
<script src="/Scripts/bootstrap-datepicker.min.js"></script>*@
|
||
|
|
<link rel="stylesheet" href="/css/datepicker.css" type="text/css" />
|
||
|
|
<script src="/js/datepicker/bootstrap-datepicker.js"></script>
|
||
|
|
<script>
|
||
|
|
$(document).ready(function () {
|
||
|
|
// $('.datepicker').datepicker({
|
||
|
|
// format: "yyyy-mm-dd",
|
||
|
|
// language: "ko",
|
||
|
|
// autoclose: true,
|
||
|
|
// });
|
||
|
|
$(".datepicker-input").on("changeDate", function (e) {
|
||
|
|
if (e.viewMode == "days") {
|
||
|
|
$(this).datepicker('hide');
|
||
|
|
}
|
||
|
|
});
|
||
|
|
});
|
||
|
|
//;(function ($) {
|
||
|
|
// $.fn.datepicker.dates['ko'] = {
|
||
|
|
// days: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일"],
|
||
|
|
// daysShort: ["일", "월", "화", "수", "목", "금", "토"],
|
||
|
|
// daysMin: ["일", "월", "화", "수", "목", "금", "토"],
|
||
|
|
// months: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
|
||
|
|
// monthsShort: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
|
||
|
|
// today: "오늘",
|
||
|
|
// clear: "삭제",
|
||
|
|
// format: "yyyy-mm-dd",
|
||
|
|
// titleFormat: "yyyy년mm월",
|
||
|
|
// weekStart: 0
|
||
|
|
// };
|
||
|
|
//}(jQuery));
|
||
|
|
</script>
|