SyntaxFix
Write A Post
Hire A Developer
Questions
$(".datepicker").datepicker({maxDate: '0'});
This will set the maxDate to +0 days from the current date (i.e. today). See:
http://api.jqueryui.com/datepicker/#option-maxDate