$("#regDate").datepicker(
{
showMonthAfterYear: true, // The month is displayed after the year
changeMonth: true, // Allow month selection
changeYear: true, // Allow year selection
dateFormat:'yy-mm-dd', // Set the date format
closeText:'Close', // Only showButtonPanel: true will be displayed
duration: 'fast',
showAnim:'fadeIn',
showOn:'button' , // Display the button trigger next to the input box, the default is: focus. It can also be set to both
buttonImage: 'images/commons/calendar.gif', // Button icon
buttonImageOnly: true, // No Display the icon on the button, that is, remove the button
buttonText:'Select date',
showButtonPanel: true,
showOtherMonths: true,
//appendText: '(yyyy-mm-dd)' ,
});