Reputation: 5
I use two instance of timepicker on my page. Is there a way to hide current button in one and not the other. I added the $('.ui-datepicker-current' ).css('display','none');
to click function but that hides it initially but when I select the date it puts the Now button back.
Tried with beforeShow
, and onSelect
also but it does not permanently take the Now button off.
Is there a way I can selectively add a css entry to hide it from a specific instance of timepicker?
Upvotes: 0
Views: 555
Reputation: 2141
#start .ui-datepicker-current {
display: none !important;
}
Upvotes: 1