<link rel="stylesheet" href="css/jquery-ui-themes-1.12.1/themes/cupertino/jquery-ui.css">
<script type="text/javascript" src="js/jquery-2.1.3.js"></script>
<script type="text/javascript" src="js/jquery-ui.js"></script>
<script type="text/javascript">
/* Korean initialisation for the jQuery calendar extension. */
/* Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie and Myeongjin Lee. */
( function( factory ) {
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {
// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {
datepicker.regional.ko = {
closeText: "닫기",
prevText: "이전달",
nextText: "다음달",
currentText: "오늘",
monthNames: [ "1월","2월","3월","4월","5월","6월",
"7월","8월","9월","10월","11월","12월" ],
monthNamesShort: [ "1월","2월","3월","4월","5월","6월",
"7월","8월","9월","10월","11월","12월" ],
dayNames: [ "일요일","월요일","화요일","수요일","목요일","금요일","토요일" ],
dayNamesShort: [ "일","월","화","수","목","금","토" ],
dayNamesMin: [ "일","월","화","수","목","금","토" ],
weekHeader: "주",
dateFormat: "yy.mm.dd",
firstDay: 0,
isRTL: false,
showMonthAfterYear: true,
yearSuffix: "년" };
datepicker.setDefaults( datepicker.regional.ko );
return datepicker.regional.ko;
} ) );
<span class="dateimg"><!-- 텍스트 박스 숨기고 이미지 클릭 시에만 달력 나오도록 -->
<input type="text" class="jDatepicker" style="display:none;">
<img id="navcalendar" src="img/calendar.jpg">
</span>
'Dev' 카테고리의 다른 글
MyBatis vs JPA 프로젝트 진행 관련 질문 과 조언. (0) | 2017.07.12 |
---|---|
책, 토비의 스프링 3.0 "1부 이해" - 기록하고 또 보기 (0) | 2017.07.08 |
Codility Demo Task Solving (0) | 2016.01.24 |
Print multiple values in a row by using ArrayList.subList (0) | 2015.11.18 |
Difference between start and run method in Thread in Java (0) | 2015.08.07 |