This article gives a detailed introduction to the datepicker attribute of the date control in jquery. If you need it, you can refer to it and hope to help you.
The Code is as follows:
$ ("# RegDate"). datepicker (
{
ShowMonthAfterYear: true, // displayed after year
ChangeMonth: true, // month can be selected
ChangeYear: true, // select a year
DateFormat: 'yy-mm-dd', // you can specify the date format.
CloseText: 'close', // only showButtonPanel: true is displayed.
Duration: 'fast ',
ShowAnim: 'fadin ',
ShowOn: 'button ', // a button is displayed next to the input box. The default value is focus. You can also set it to both.
ButtonImage: 'images/commons/calendar.gif ', // button icon
ButtonImageOnly: true, // do not display the icon on the button, that is, remove the button
ButtonText: 'select date ',
ShowButtonPanel: true,
ShowOtherMonths: true,
// AppendText: '(yyyy-mm-dd )',
});