jquery時間控件datepicker

配置文件html

$("#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
相關文章
相關標籤/搜索