So this has been answered before. Since im merly familiar with css im abit lost here. I have 2 datepickers. With code
<style>
.ui-datepicker-calendar {
display: none;
}
</style>
both datepickers lose day-picking option. But I would like to keep it on the second one (name="datepicker1" id = "datepicker1"
).
I have tried
<style>
#datepicker.ui-datepicker-calendar {
display: none;
}
</style>
but it doesn't do anything. datepicker i'd like to remove is:
<div id="datepicker" name="datepicker"></div>
Edit: I wan't to keep month and year picking option and remove daypicking option from first datepicker.
I have helped myself with jQuery UI DatePicker to show month year only , but i can't find solution on how to hide only one of datepickers' daypicking option.