Modifying xf:dateinput via code?

Status
This content is read-only, or is not open for further replies.

Jaxel

Guest
offline
Lets say I have a dateinput:
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom