While looking at some other examples of datepickers I noticed a different way of programming the $( function line in JS. I tried the different way and it worked. I hope this fixes it permanently.
Well it worked ... and then it stopped working. So I copied the jQuery code that was working but stopped working into a very simple new page with a FORM that has 2 date fields so that I could work with it, but I still can't get it to work. I have used basically the same JS code in a...
Thank you Temyk,
It was a little tricky since I had to add the wp_enqueue calls.
Here's the final code which works, and was included at the beginning of my Woody Snippet Script.
Any suggestions to improve on this.
I'm looking for an alternative to the HTML5 datepicker for my PHP code generated FORM. It mostly works but is not great. Is there an alternative which will work in my PHP Snippet which is is either internal to WordPress or included in jQuery or as another plugin.
Thanks, Dave W.