jQuery UI 를 이용한 datepicker > 개발

본문 바로가기
사이트 내 전체검색

개발

jQuery UI 를 이용한 datepicker

페이지 정보

profile_image
작성자 관리자 (61.♡.26.29)
댓글 0건 조회 4,153회 작성일 17-12-22 15:17

본문

[code]
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>
<script type="text/javascript">
/* Korean initialisation for the jQuery calendar extension. */
/* Written by DaeKwon Kang (ncrash.dk@gmail.com). */
jQuery(function($){
$.datepicker.regional['ko'] = {
closeText: '닫기',
prevText: '이전달',
nextText: '다음달',
currentText: '오늘',
monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)',
'7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'],
monthNamesShort: ['1월','2월','3월','4월','5월','6월',
'7월','8월','9월','10월','11월','12월'],
dayNames: ['일','월','화','수','목','금','토'],
dayNamesShort: ['일','월','화','수','목','금','토'],
dayNamesMin: ['일','월','화','수','목','금','토'],
weekHeader: 'Wk',
dateFormat: 'yy-mm-dd',
firstDay: 0,
isRTL: false,
showMonthAfterYear: true,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['ko']);

$('#wr_3_0,#wr_4_4').datepicker({
showOn: 'both',
//buttonImage: '//jqueryui.com/resources/demos/datepicker/images/calendar.gif',
//buttonImageOnly: true,
buttonText: "달력",
changeMonth: true,
changeYear: true,
showButtonPanel: true,
yearRange: 'c-99:c+99',
minDate: '+0d'
});
});
</script>
[/code]

추천0

댓글목록

등록된 댓글이 없습니다.

Total 392건 1 페이지
  • RSS
개발 목록
번호 제목 조회 추천 날짜
39218006-23
39110006-23
39022006-20
389142006-15
38868006-15
387153005-27
386637004-07
3851446002-02
3841348001-09
3831622012-25
3821331012-15
3811052012-10
380692012-03
379764011-26
378648011-04
3771318009-08
3761610008-11
3751726008-10
3742051007-10
3731424007-03

검색


사이트 정보

Copyright © Baragi.Net. All rights reserved.