I am using the jquery plugin from [FilamentGroup] called DateRangePicker.
I have a simple form with two text inputs for a start and end date with which I bind DateRangePicker to this
$('input.tbDate').daterangepicker({
dateFormat: 'mm/dd/yy',
earliestDate: new Date(minDate),
latestDate: new Date(maxDate),
datepickerOptions: {
changeMonth: true,
changeYear: true,
minDate: new Date(minDate),
maxDate: new Date(maxDate)
}
});
I have a collapsible table above this form, which, when shown, moves the form and the elements the daterangepicker plugin is attached to down on the page, but the daterangepicker seems to maintain a position from the moment it was created.
daterangepicker onShow Callback, , , ? - jquery , daterangepicker, . , , , , .