I have an event calendar.I want to change the background color of td after a particular date .Iam using the the following jquery
It changes the background-color and the td is changed as follows.
When i click the Prev,Next,Today buttons to navigate on the calendar, the td resets as follows.
Code:
$('[class*="fc"]').filter(function() {
return $(this).data('date') > "2014-02-22";
}).css("background-color","white");
Code:
<td class="fc-day fc-wed fc-widget-content fc-past" data-date="2014-02-19" style="background-color: rgb(255, 255, 255);">
Code:
<td class="fc-day fc-wed fc-widget-content fc-past" data-date="2014-02-19">
Comment