Hi,
I’m struggling with the maxDate property of the DatePicker. I’m trying to set the maxDate to 3 days after the today’s date. I’m so confused, nothing works, can someone help me? Thank you.
Hi,
I’m struggling with the maxDate property of the DatePicker. I’m trying to set the maxDate to 3 days after the today’s date. I’m so confused, nothing works, can someone help me? Thank you.
Simple codes
Use it on page ready
code
let d = new Date()
d.setDate(da.getDate() + 3);
$w(“#datePicker1”).maxDate = d;