jQuery Datepicker - refresh pickable days based on selected option

后端 未结 3 1949
刺人心
刺人心 2020-12-31 06:07

I have a select box where the user can pick 3 different shops. It shouldn\'t be possible to pick weekends for shop 2 and 3, and for shop 1 you should only be able to pick Mo

3条回答
  •  萌比男神i
    2020-12-31 06:58

    $("#datepicker").datepicker("destroy");
    

    Above line work for clearing the datepicker.

提交回复
热议问题