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 =)
if you want to filter out your collection of td and find all who has the class fc-day1 then use filter with a css selector: