I am using datepicker in jQueryUI and require inline dates. The documentation says that instead of an input tag, a div is configured with .datepicker.
However, I can not find a way to specify a date for the picker to display by default. You can have "value" for input but what do you do with a div ???
say:
through a date object or current Specify a string in the date format as a string, or a few days of today (like +7) or a string of values and periods ('Y' for the year, 'm' for the month, 'w' for the week ',' D 'for the day, like' + 1m + 7d '), or weak for today.
Therefore, you want to make sure that
data.resFullDate is similar to
dateFormat , such as
$ ("#datepicker"). Detector ({defaultDate: data.resFullDate, // eg 10-03-28 date format: 'yy-mm-dd'});
Comments
Post a Comment