I have two jQuery date pickers on my page:
- A regular one
- A "special" one that can only pick years/months.
The special one uses some custom CSS (from here) to hide the calendar part, so only the month/years show up.
.ui-datepicker-calendar {
display : none ;
}
However, since there is only one dialog instance on the page, the calendar is hidden for both pickers.
Is there a way to only apply this style to one of the instances? I've checked the docs to see if I could add a custom class to the dialog, but I couldn't find it.