I am using datePicker as follows:
$("#dataStart").datepicker({ beforeShow: function () { $('#ui-datepicker-div').css('z-index',9999); }, dateFormat: 'mm/dd/yy'}); $("#dataEnd").datepicker({ beforeShow: function () { $('#ui-datepicker-div').css('z-index',9999); }, dateFormat: 'mm/dd/yy'});
I want to make you choose a date in the future, not in the past, is there any way to do this? if so, it can be changed dynamically for the second datepicker, so if the user selects a date, in the second field he must select the date next to the first one selected. I hope I ask, as well as my question :) Thank you all!
source share