By default, the jQuery UI DatePicker widget is animated at the bottom left of the input field to which it is assigned, so if the input field is shorter than the width of the calendar, it freezes to the right.
My problem is that my input box is completely on the right side of the page, so when Datepicker shows it, it hangs on the border of my page. Is there a way to change the registration point of the animation in the lower right corner of the input field? I would like to keep the same “gradual reduction” effect that comes by default.
How can I do it? I am assuming something with a property showAnim, but I could not figure it out ...
source
share