How to change the cell color of a jquery datepicker
- by MazarD
Hi,
I have a jquery datepicker and I need to be able to change the background color for the selected cell date, I'm trying with something like:
$("#fecha").datepicker({
onSelect: function(value, date) {
alert(date.css());
}
});
hoping that the date parameter refers to the selected cell, but it doesn't seem to work.
Any suggestion?
//Edit:
The solution should let me have different cells with different colors setted dinamically, this is why I'm trying with onSelect instead of changing the css directly.
The purpose is to have a calender with events established by the user.
Thanks in advance.