Modifying xf:dateinput via code?

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?

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ