Jquery datepicker - only day and month

后端 未结 6 1214
灰色年华
灰色年华 2020-11-30 11:33

I want the user to specify their birthday or anniversary date (without year) in a form. For this, I want to use jquery datepicker but it should not show any year option at a

6条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-30 12:14

    set the css to hide the year and the dateFormat as K6t said

    .ui-datepicker-year{
        display:none;
    }
    

提交回复
热议问题