[jQuery] jQuery UI 날짜 선택기 (datepicker) > 팁앤테크

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

팁앤테크

[jQuery] jQuery UI 날짜 선택기 (datepicker)

페이지 정보

본문

<!DOCTYPE html>
<meta charset=”utf-8” />
<link rel=”stylesheet” href=”http://code.jquery.com/ui/1.8.18/themes/base/jquery-ui.css” type=”text/css” media=”all” />
<script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js” type=”text/javascript”></script>
<script src=”http://code.jquery.com/ui/1.8.18/jquery-ui.min.js” type=”text/javascript”></script>
<script>
$(function() {
  $( ”#datepicker1” ).datepicker({
    dateFormat: ’yy-mm-dd’,
    prevText: ’이전 달’,
    nextText: ’다음 달’,
    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: [’일’,’월’,’화’,’수’,’목’,’금’,’토’],
    showMonthAfterYear: true,
    yearSuffix: ’년’
  });
});
</script>
<p>생년월일: <input type=”text” id=”datepicker1”></p>

*************************************************************

<!DOCTYPE html>
<meta charset=”utf-8” />
<link rel=”stylesheet” href=”http://code.jquery.com/ui/1.8.18/themes/base/jquery-ui.css” type=”text/css” media=”all” />
<script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js” type=”text/javascript”></script>
<script src=”http://code.jquery.com/ui/1.8.18/jquery-ui.min.js” type=”text/javascript”></script>
<script>
$(function() {
  $( ”#datepicker1, #datepicker2” ).datepicker({
    dateFormat: ’yy-mm-dd’
  });
});
</script>
<p>조회기간: <input type=”text” id=”datepicker1”> ~ <input type=”text” id=”datepicker2”></p>

*****************

<!DOCTYPE html>
<meta charset=”utf-8” />
<link rel=”stylesheet” href=”http://code.jquery.com/ui/1.8.18/themes/base/jquery-ui.css” type=”text/css” media=”all” />
<script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js” type=”text/javascript”></script>
<script src=”http://code.jquery.com/ui/1.8.18/jquery-ui.min.js” type=”text/javascript”></script>
<script>
$(function() {
  $( ”#datepicker1, #datepicker2” ).datepicker({
    dateFormat: ’yy-mm-dd’,
    prevText: ’이전 달’,
    nextText: ’다음 달’,
    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: [’일’,’월’,’화’,’수’,’목’,’금’,’토’],
    showMonthAfterYear: true,
    yearSuffix: ’년’
  });
});
</script>
<p>조회기간: <input type=”text” id=”datepicker1”> ~ <input type=”text” id=”datepicker2”></p>
추천0

댓글목록

등록된 댓글이 없습니다.

Total 825건 7 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 추천 날짜
675 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19214 0 10-06
열람중 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19200 0 01-08
673 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19194 0 09-18
672 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19078 0 12-01
671 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19065 0 06-12
670 월드컵쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18980 0 12-03
669 연후아빠쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 18955 0 03-27
668 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18921 0 10-31
667 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18892 0 06-28
666 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18839 0 03-21
665 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18730 0 05-02
664 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18695 0 06-08
663 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18693 0 04-30
662 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18666 0 03-03
661 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18662 0 05-30
660 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18659 0 01-04
659 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18649 0 05-31
658 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18610 0 10-21
657 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18574 0 05-31
656 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18554 0 01-05
655 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18550 0 12-15
654 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18550 0 04-28
653 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18433 0 06-21
652 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18397 0 06-23
651 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18385 0 02-18

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
6,791
어제
8,077
최대
8,233
전체
1,569,784
Copyright (c) 株式会社YHPLUS. All rights reserved.