jQuery UI Datepicker: don't highlight today when it is also selected

前端 未结 4 905
攒了一身酷
攒了一身酷 2021-01-06 06:26

I\'m using the jQuery datepicker to select dates. It works fine, except there is 1 default behavior that I would like to change. When you select a day, the selected day is

4条回答
  •  我在风中等你
    2021-01-06 06:57

    Actually, it's quite easy, just add !important to the .ui-state-active class for the background and the border element.

提交回复
热议问题