[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건 6 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 추천 날짜
725 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10931 0 01-24
724 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9580 0 01-16
723 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 8721 0 01-05
722 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9246 0 12-05
721 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10457 0 10-30
720 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9619 0 09-28
719 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9728 0 09-27
718 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11918 0 08-25
717 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11727 0 08-25
716 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9550 0 08-23
715 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10390 0 08-22
714 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9190 0 08-05
713 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10535 0 08-05
712 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9431 0 08-04
711 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9337 0 07-28
710 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9411 0 07-26
709 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 9303 0 06-02
708 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10342 0 05-17
707 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12150 0 05-04
706 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10298 0 04-27

검색

회원로그인

회원가입

사이트 정보

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

접속자집계

오늘
2,760
어제
4,566
최대
6,509
전체
1,067,421
Copyright (c) 株式会社YHPLUS. All rights reserved.