[Jquery] 캘린더 위젯 datepicker 사용하기
출처 : https://jqueryui.com/datepicker/ 프로젝트를 진행할 때 캘린더를 사용하는 경우도 자주 있을 텐데, jquery에서 제공해 주는 datepicker라는 위젯을 사용하면 진행 중인 프로젝트에 캘린더를 빠르게 추가할 수 있다. 사용방법도 간단하다. datapicker 사용하기 header에 기본 jquery와 jquery ui를 import 한다. 아래와 같이 CDN을 이용하지 않을 경우 필요한 js, css 파일들을 직접 다운로드하여 프로젝트에 추가 후 header에 경로를 설정해 주면 된다. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="https://code.jquery.com/ui/1.13.3/themes/