ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 26,185
- Points
- 823
Reputation:
Lets say I have a dateinput:
Code:
Then in my JS, I am connecting to that date picker as follows:
Code:
How can I then change the contents of the data picker, and the options for
Continue reading...
Code:
<xf:dateinput name="date" class="date-picker" value="{{ date($xf.time+86400, 'Y-m-d') }}" />
Then in my JS, I am connecting to that date picker as follows:
Code:
$datepicker = this.$target.find('.date-picker');
How can I then change the contents of the data picker, and the options for
minDate
and maxDate
in the JS code?Continue reading...