I am using datepicker for the selection of start date and end date of an event.
$(function() {
$( "#datepicker" ).datepicker();
$( "#datepicker2" ).datepicker();
});
<input type="text" id="datepicker">
<input type="text" id="datepicker2">
Now both the date pickers are working fine except I want to restrict datepicker2
to not allow any dates less that the date already selected for datepicker