I have a data_inicio
field and a data_fim
field. I need to use datepicker
on both.
I want, when I select the date data_inicio
, the data_fim
field is affected, so that only subsequent dates of data_inicio
are displayed. And, if you select data_fim
first, the data_inicio
field has a maximum date in relation to the selected date in data_fim
.
How to do this in jQuery UI?