前提是導入了jqueryUI 和jquery庫,粘上以下代碼
$( "#id" ).datepicker({
dateFormat: 'yy-mm-dd',
showAnim: 'fadeIn',
changeMonth: true,
changeYear: true
});
前提是導入了jqueryUI 和jquery庫,粘上以下代碼
$( "#id" ).datepicker({
dateFormat: 'yy-mm-dd',
showAnim: 'fadeIn',
changeMonth: true,
changeYear: true
});