I'm trying to add css to a 'td' in a Table that is part of the fullcalender
The day cells have classes added fc-day0 to fc-day41
td element looks like this:
<td class="fc-mon fc-widget-content fc-day1">
I tried following:
$("td").filter("fc-day1")
.css("background", "red");
$("td").find("fc-day1")
.css("background", "red");
$("td").find($('td[class*=".fc-day1"]'))
.css("background", "red");
I appreciate your help =)
.to your selector before the classname should do the trick (for the first two). as it is jquery thingsfc-day1is a tag name...