Start date and end date jquery. After the start date is over, the selected end date cannot be lower than the start date.

I use jquery"s datepicker plugin

<div class="fs_title"></div>
        <input id="time_available" name="time_available" class="datepicker date_field" required>

        <div class="fs_title"></div>
        <input id="expiry" name="expiry" class="datepicker date_field" required>

after I choose the start date
how can I select the end date not less than the election start date?

$(function() {
  $( ".datepicker" ).datepicker({
    dateFormat:"yy-mm-dd",
    minDate: "0d", 
    changeMonth: true,
    changeYear: true
  });
});

he has a face minDate: "0d", which can be set, but I don"t know how to do it
is there a big god who can thank me


:var minDate = $('.selector').datepicker('option', 'minDate')
:$('.selector').datepicker('option', 'minDate', new Date(2007, 1 - 1, 1))

official sample address

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2bd4e-2b011.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2bd4e-2b011.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?