I have a problem with the jQuery-UI datepicker, I have searched and searched but I didn\'t find the answer. I have the following code:
Seeing that:
Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current dateFormat, or a number of days from today (e.g. +7) or a string of values and periods ('y' for years, 'm' for months, 'w' for weeks, 'd' for days, e.g. '+1m +7d'), or null for today.
If the current dateFormat is not recognized, you can still use the Date object using new Date(year, month, day)
In your example, this should work (I didn't test it) :