JqueryUI 日期插件的基本用法

如果导入了jqueryUI 和jquery库,粘上以下代码

$( "#id" ).datepicker({
dateFormat: 'yy-mm-dd',
showAnim: 'fadeIn',
changeMonth: true,
changeYear: true
});

就可以调出日期插件

你可能感兴趣的:(Datepicker,JqueryUI,日期插件的基本用法)