JQuery UI DatePicker using 2 date fields trying to get date difference

后端 未结 3 1764
庸人自扰
庸人自扰 2021-01-03 12:03

I have 2 JQuery Date fields

  1. Arrival
  2. Departure

Arrival date must not be todays date - i got this sorted using minDate: 1 in the javascr

3条回答
  •  悲&欢浪女
    2021-01-03 12:24

    I think the functionality of the arrival and departure shoud be reversed/swaped. I just changed over the labels and things became clearer but now the code looks wrong.

提交回复
热议问题