$(document).ready(function(){ // 현재 날짜 넣어주기 $('#datepicker').val($.datepicker.formatDate($.datepicker.ATOM, new Date())); // 기본타입 로드 $('#datepicker').datepicker(); // 옵션타입 $('#datepicker').datepicker({ dateFormat : 'yy-mm-dd' // 날짜 타입 });});<input type="text" name="datepicker" id="datepicker" value="" /> ※ 플러그인 적용시 필요파일
* jquery-ui-custom.css
* jquery.js
아래 2개는 있어도 되는지 안되는지 확인 안해봄.
* ui.core.js
* ui.datepicker.js
* ui.core.js
* ui.datepicker.js
'이전 2016 > > Temp' 카테고리의 다른 글
| 개인사업자와 IT 프리랜서를위한 종합소득세 총정리 (0) | 2014.11.11 |
|---|---|
| java <-> jsp (0) | 2014.08.05 |
| 책 구매예정 리스트 (0) | 2014.07.21 |
| 이클립스 xml 파일 설정 정보 (0) | 2014.07.02 |
| blockUI message 출력 (0) | 2014.02.26 |