I asked a pretty similar question a few days ago, but this one is different enough that I didn\'t feel like derailing the other helpful topic. I basically want to set up two
$('#firstinputfield').datepicker({
//your other configurations.
onSelect: function(){
var start = $('#firstinputfield').val();
var days = parseInt('1');
var date = new Date(start);
var d = date.getDate();
var m = date.getMonth();
var y = date.getFullYear();
var edate= new Date(y, m, d+days);
$('#secondinputfield').datepicker({
//Your other configurations.
minDate:edate
});
}
});