관리 메뉴

웹개발자의 기지개

지시자 여러개 함께 선택할때 본문

jquery

지시자 여러개 함께 선택할때

http://portfolio.wonpaper.net 2018. 12. 23. 00:58

$(function(){

 $("#start_date1, #end_date1, #start_date2, #end_date2, .class, input").datepicker({

     showMonthAfterYear:true,
     monthNamesShort: ['1월','2월','3월','4월','5월','6월','7월','8월','9월','10월','11월','12월'],
     dayNamesMin: ['일','월','화','수','목','금','토'],
     showAnimation: 'slider',
     dateFormat: 'yy-mm-dd',
     showOtherMonths: true,
     selectOtherMonths: true,
     changeMonth: true,
     changeYear: true

 

 });

});

 

위에서 빨간색 부분으로 쉼표로 연이어서 넣어주면 된다.

Comments