Disable future dates after today in Jquery Ui Datepicker

后端 未结 8 1056
旧巷少年郎
旧巷少年郎 2020-12-03 10:25

I want to disable all the future dates after today in Jquery Ui Datepicker

Here is the Demo :

Code :

$( \"         


        
8条回答
  •  無奈伤痛
    2020-12-03 10:25

    Change maxDate to current date

    maxDate: new Date()
    

    It will set current date as maximum value.

提交回复
热议问题