views:

46

answers:

2

I`m using datepicker with month and year drop downs.

I would like to hide displayed days. How can I do this ?

A: 

You can probably use css to make the class 'ui-datepicker-calendar' invisible, but I don't know if the result is an appealing visual experience.

On the other hand, a datepicker without a day picker is really just two drop-downs, so it seems to be a lot easier to display two drop downs and don't use the datepicker altogether.

mnemosyn
+1  A: 

Check this link out, I think this is what you are looking for

http://blog.yctin.com/archives/jquery-plugins-monthpicker/

Ravia
Using the datepicker without the 'day' aspect somewhat defeats its purpose, monthpicker definitely is a more suitable option. +1
o.k.w