[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>

댓글목록

등록된 댓글이 없습니다.

Total 828건 8 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 날짜
653 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 73162 11-19
652 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 42201 11-17
651 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 46499 11-17
650 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 55056 11-07
649 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 70622 10-24
648 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 60798 10-22
647 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 68032 10-07
646 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 60509 07-02
645 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 55618 06-18
644 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 57302 06-11
643 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 61797 06-11
642 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 54706 05-09
641 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 60166 05-02
640 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 64015 03-29
639 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 58915 01-22
638 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 55596 01-09
열람중 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 65208 01-08
636 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 60088 01-06
635 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 78650 12-31
634 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 62301 12-26
633 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 59508 12-24
632 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 63361 12-01
631 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 59225 11-21
630 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 43925 11-08
629 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 57062 10-18

검색

회원로그인

회원가입

사이트 정보

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

접속자집계

오늘
18,565
어제
14,332
최대
240,985
전체
3,517,976
Copyright (c) 株式会社YHPLUS. All rights reserved.