I want to disable all the future dates after today in Jquery Ui Datepicker
Here is the Demo :
Code :
$( \"
In case you are appending Dtpicker,use the following code
$('#enddate').appendDtpicker({ "dateOnly": true, "dateFormat": "YYYY-MM-DD", "closeOnSelected": true, maxDate: new Date() });