首页 > 代码库 > jquery时间控件datepicker

jquery时间控件datepicker

配置文件

$("#joinedTime").datepicker({
inline: true,
yearRange: "1996:2016",
showButtonPanel:true,//是否显示日历下方的按钮面板
currentText: "今日",
firstDay: 1,
showOtherMonths: true,
selectOtherMonths: true,
numberOfMonths: [ 1, 1 ],//显示一行显示一个日期面板
maxDate: "m w",
changeMonth: true,
changeYear: true,
monthNamesShort: [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ],
dateFormat: ‘yy-mm-dd‘
});
样式里面加上下面这条,可以把today去掉
button.ui-datepicker-current { display: none; }

转自:http://www.cnblogs.com/shiyou00/p/5522696.html

jquery时间控件datepicker