I have a calendar which contains a same class
for every day. I would like to change color of class(some box in table) which contains a character "C" inside. I'm able to find it using jquery
but when I try to change it, it changes every element with that class
so I'm trying to use this
but it wont work... Here is the code
if(($(".tribe-events-month-event-title > a").text()).includes("C")){
$(this).css("background-color","red");
}
I tried this as well, but it changed every element with that class
var aaa = $(".tribe-events-month-event-title > a")
if(aaa.text().includes("C")){
aaa.css("background-color","red");
}