Hello, thanks for great datepicker! I found some error when I must use this code after ajax request:
window.fireEvent('domready');
It created another div with class="datepicker", so many div with this class do some wacky result. I fix it with this code (I clear every your hidden datepickers before running Picker class):
$$('.datepicker').each(function(el) {
if (el.getProperty('aria-hidden') != null) el.destroy();
});
and then I use normal code...
new Picker.Date.Range($$('.datepicker_datum_range'), {
timePicker: false,
columns: 3,
positionOffset: {x: 5, y: 0}
});
Hello, thanks for great datepicker! I found some error when I must use this code after ajax request:
It created another div with class="datepicker", so many div with this class do some wacky result. I fix it with this code (I clear every your hidden datepickers before running Picker class):
and then I use normal code...