Forums › Forums › Search & Filter Pro › Calendar to display from page load
Tagged: calendar
- This topic has 7 replies, 2 voices, and was last updated 4 years, 6 months ago by Trevor.
-
Anonymous(Private) April 21, 2020 at 10:54 am #240719
Hi there,
Is it possible for a calendar to display from page load instead of clicking on the input box and then having the calendar appear?
I can see the calendar sits outside of the other code and there is some clever stuff going on with attaining the top and left positioning which means I can’t just say use display: block !important.
Thanks for your help and time in advance.
Trevor(Private) April 22, 2020 at 10:16 am #240879I am not sure it is. The question has been asked in the wider community though:
https://stackoverflow.com/questions/4188435/always-visible-jquery-ui-datepicker
But, that requires the datepicker to not be associated with a text input.
My guess is that you might have to ‘destroy’ the datepicker on our text box, and then add it to a visible div, somehow associating it with the text box.
Anonymous(Private) May 3, 2020 at 11:02 am #242426Hi Trevor,
Thanks for the guidance.
This does in fact work to a certain extent.
The date goes in to the input field but the ajax filter is not triggered.
If I select an additional filter, this triggers the ajax and pulls in my date.
Can you advise how I can trigger this manually having selected a date?
Thanks for your continued help.
-
AuthorPosts