views:

28

answers:

2

How can i possible not to show the year entry on jquery Ui datepicker. now its show as Oct 2010, but i just need Oct.

is it possible??

+3  A: 

Just remove it via CSS, it's probably the simplest solution.

.ui-datepicker-year {
    display: none;
}

Tested and works.

Marko
A: 

If you want the year to be seen, but not selectable, you can do something like this:

$( "#datepicker" ).datepicker({
    changeMonth: true,
    changeYear: false
});
Tim