Hello,
How can I have the date picker to show the calendar in the opened state when the page is loaded?
Hello,
How can I have the date picker to show the calendar in the opened state when the page is loaded?
It looks like you can use the show() function:
http://api.jqueryui.com/datepicker/
I added a datepicker to the page and then added this code to my theme's functions.php to include a small bit of jQuery to force the datepicker to shown when the page is loaded: http://pastebin.com/s6rDnwJ2
There are simpler ways to add the jQuery to the page, but above is how I did it. This is the code which forces the datepicker open:
If you added it to the header of your page, it would look like this: