help in jquery datepicker disable previous dates..

help in jquery datepicker disable previous dates..

hello jquery gurus...

i have a question regarding on jquery datepicker..how can i disable the previous dates so that it can't be click anymore..

suppose today's date is 03/29/10 so the dates before 29 is disable anymore..cannot be chosen.
this is the code that i have..

  1.   <script type="text/javascript">
                $(function() {
                    $('#check_in_date').datepicker({minDate: new Date(2010, 1 - 1, 1), maxDate: new Date(2011, 12 - 1, 31), dateFormat: 'm/d/yy' });
                    $('#check_out_date').datepicker({minDate: new Date(2010, 1 - 1, 1), maxDate: new Date(2011, 12 - 1, 31), dateFormat: 'm/d/yy' });
                });
            </script>




i dont know what code should i add to disable the previous dates..please help me with this..