JQueryUI Datepicker: hide the Today button, but show the Finish button?

The field in which I use datepicker shows the date of birth, so the today button is deprecated. However, I would like to give users the option to hide the datepicker and enter the date themselves. Is it possible?

+3
source share
2 answers

Put this in CSS:

#ui-datepicker-div button.ui-datepicker-current {display: none;}
+9
source

Looks like I almost found a solution. If the dateRange parameter is set so that today is not part of it, the today button is disabled (although it is not hidden).

0
source

Source: https://habr.com/ru/post/1734215/


All Articles