Multople options in DatePicker

Multople options in DatePicker

Using it for the firts time.. i want the two options as below, but the second doesnot work, where to put the code?:

 - <script type="text/javascript">
    $(function() {
        $('#datepicker').datepicker({
            changeMonth: true,
            changeYear: true,
            });
        $(.selector').datepicker('option', 'minDate', new Date(2008, 1 - 1, 1));
    });
    </script>