In my AngularJS project, I have implemented a jQuery datepicker. To make the current date stand out, I customized the CSS to display it with an orange background:
.ui-state-highlight{
background-color:orange;
}
However, there is now a new requirement to change the background color of the current date to red when clicked. I attempted to achieve this by calling a function onSelect that modifies the default datepicker settings, but unfortunately, it did not work as expected. Can anyone suggest a solution to accomplish this task?