SyntaxFix
Write A Post
Hire A Developer
Questions
This worked for me endDate: "today"
endDate: "today"
$('#datepicker').datepicker({ format: "dd/mm/yyyy", autoclose: true, orientation: "top", endDate: "today" });
SOURCE