Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- jQuery
- RDS
- EC2
- 웹게임
- autowired
- Cookie
- Ajax
- websocket
- JavaScript
- Servlet
- AWS
- express
- 암호화
- 알고리즘
- node.js
- JSP
- Spring
- tiles.xml
- 도커
- 블록체인
- phaser
- HTML
- model1
- 웹소켓
- PL/SQL
- CSS
- 비트코인
- 배포
- docker
- SQL
Archives
- Today
- Total
記錄
jquery) jquery ui datepicker 형식 설정 본문
$(function() {
var date = new Date();
var currentMonth = date.getMonth();
var currentDate = date.getDate();
var currentYear = date.getFullYear();
$('#datepicker').datepicker({
minDate: new Date(currentYear, currentMonth, currentDate),
dateFormat: 'yy-mm-dd'
});
});
맨 앞에서 스크립트 코드를 저렇게 처리하면 '2018-04-14' 형식으로 변경됨
'Web > Jquery' 카테고리의 다른 글
jquery) 동적 생성 이벤트 (0) | 2018.07.23 |
---|---|
jquery) Ajax + 외부 API (0) | 2018.03.27 |
jquery) Ajax (0) | 2018.03.22 |
jquery&json) 연습문제 (0) | 2018.03.16 |
jquery) .each, empty&remove (0) | 2018.03.16 |
Comments