Is it possible not to show the year entry on JQuery UI datepicker?
Now it's shown as Oct 2010 , but I just need Oct .
Just remove it via CSS , it's probably the simplest solution.
.ui-datepicker-year {
display: none;
}
Tested and works.
If you want the year to be seen, but not selectable, you can do something like this:
$( "#datepicker" ).datepicker({
changeMonth: true,
changeYear: false
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.