Ensuring a date is at least 1 day later than another date using jQuery UI Datepicker
问题 Using jQuery DatePicker, I'd like to ensure that the departure date is at least 1 day after the arrival date. The closest I've managed to get to this is to ensure that the departure date is on the same day as the arrival date (I just couldn't figure out how to add 'selectedDate + 1 day' in the JS). I'd appreciate any help with this, thanks. Here's my JS: $(".datepicker_arrival").datepicker({ dateFormat: 'dd/mm/yy', minDate: new Date(), onSelect: function(dateText, inst) { if($('.datepicker