I am using jQuery datepicker to select dates. It works great, except that by default I change the behavior. When you select a day, the selected day is highlighted (which I like). The current day is also highlighted, but a different css style is used (which I also like). However, if you select the current day, the selection, because it is the current day, replaces it with the selected ... I would prefer it to be selected to replace the current highlight of the current day, which, in my opinion, it will be very clear that you chose the current day.
Now I feel that I can possibly update css to solve my problem. However, I really do not want to configure the ready-made jQuery UI css, because later I want to add skins to my application. This means that if I take a bunch of jQuery-based user interfaces ... I have to do the same setup for everyone (very undesirable).
I could probably update the actual Datepicker plugin to do this, but then I ran into the problem that if I want to update my Datepicker later ... I need to remember that I need to make this fix again.
Ideally, I could use some option built into Datepicker to achieve my goal, but so far none of the options seem correct. I would agree to some kind of hacking JavaScript, or css flopped on the page, but now I'm at a loss.
source
share