[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 770건 26 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 추천 날짜
145 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18923 0 09-18
열람중 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18923 0 01-08
143 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18928 0 08-09
142 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18987 0 03-14
141 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19005 0 03-21
140 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19125 0 05-17
139 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19134 0 11-20
138 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19142 0 12-02
137 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19142 0 11-01
136 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19198 0 02-14
135 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19217 0 05-30
134 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19275 0 10-19
133 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19287 0 09-18
132 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19351 0 11-01
131 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19375 0 01-05
130 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19398 0 03-29
129 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19448 0 12-27
128 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19506 0 12-27
127 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19543 0 05-27
126 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19571 0 06-03
125 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19618 0 09-21
124 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19645 0 02-08
123 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19729 0 04-21
122 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19757 0 09-02
121 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19842 0 01-28

검색

회원로그인

회원가입

사이트 정보

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

접속자집계

오늘
6,052
어제
7,420
최대
8,233
전체
1,522,177
Copyright (c) 株式会社YHPLUS. All rights reserved.