Disable previous dates:

$(".datepicker").datepicker({minDate:'0'});

Disable next dates:

$(".datepicker").datepicker({maxDate:'0'});

http://api.jqueryui.com/datepicker/

Advertisements