Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: Jquery datepicker - 只有日期和月份
我在我的新网站上使用 Jquery datepicker,但我只需要选择日期和月份......
有任何想法吗 ?
谢谢
http://jqueryui.com/demos/datepicker/#option-dateFormat
$( ".selector" ).datepicker({ dateFormat: "mm-dd" });